I am having an issue with using DoLocalMoveZ to move forward. I have a character that I rotate then move forward on the transforms local z axis but it is using world z when I move. Basically it always moves up 3 on the world z axis but I need it to move up 3 on the transform’s z axis.
Here is an example of what I have…
//swipeUp
transform.parent.DORotate (new Vector3(0,0,0), 1f);
Move();
//swipeDown
transform.parent.DORotate (new Vector3(0,180,0), 1f);