Make Plane more sensical
This commit is contained in:
parent
fd65fd5ec1
commit
5681d3f65d
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user