Hi all, I am trying to get forward vector for 2d object, but it always returns me something like this:
Vec3(0, 0, someValue).
x and y stays 0 despite any angle I set for object 2d.
Hi all, I am trying to get forward vector for 2d object, but it always returns me something like this:
Vec3(0, 0, someValue).
x and y stays 0 despite any angle I set for object 2d.
I found the solution… In 2D you need to use node.right instead of node.forward:
this.node.right