Make Plane more sensical

This commit is contained in:
Sofia 2024-08-20 19:32:12 +03:00
parent fd65fd5ec1
commit 5681d3f65d

View File

@ -159,7 +159,7 @@ namespace Gmtk24 {
private void OnBlockDrag(BuildingBlock _) { private void OnBlockDrag(BuildingBlock _) {
var offset = GhostBlock.OffsetFrom(GhostBlockNormal); var offset = GhostBlock.OffsetFrom(GhostBlockNormal);
EnablePlane(GhostBlock.Position - offset, new Quaternion(Vector3.Up, GhostBlockNormal)); EnablePlane(GhostBlock.Position - offset, new Quaternion(Vector3.Up, 0));
} }
private void EnablePlane(Vector3 pos, Quaternion rot) { private void EnablePlane(Vector3 pos, Quaternion rot) {