change raw haxe

This commit is contained in:
Yvon
2022-06-11 22:54:20 +03:00
committed by Nat Quayle Nelson
parent a1853d02e5
commit b975ff2e14
15 changed files with 28 additions and 28 deletions

View File

@@ -18,7 +18,7 @@
(when !(= direction Vector3.ZERO)
(set direction (direction.normalized))
// TODO for some reason, the Vector3 addition operator is only found when used in a raw haxe expr:
(pivot.lookAt #|translation + direction|# Vector3.UP))
(pivot.lookAt #{translation + direction}# Vector3.UP))
(set _velocity.x (* direction.x speed))
(set _velocity.z (* direction.z speed))