How to move a node along its axis?

Hi! How to change the local position of the node like if it were a user dragging the node in the veiwport window using a gizmo?

In other words, how do I move it taking into account the node's rotation? If I just use DzNode.setLocalPos() to move the node along, for example, the y-axis, adding DzVec3(0,5,0), it will just move the node up without taking into account its orientation.

Sign In or Register to comment.