Question by
lionel25 · Aug 25, 2017 at 02:40 PM ·
movedirection
Unable to keep object moving in straight line after position 1024 in z-axis
Hi,
My moving animated object is supposed to move constantly in the z-direction only. However, after the object reaches position 1024 in the z-axis, it also starts to move along the x-axis and drifts off the narrow surface of an elongated cube.
Grateful if someone can tell me how to fix this.
Thanks
Comment
Your answer
Follow this Question
Related Questions
how to make your object move from point A to point B? 1 Answer
Cannot implicity convert type 'UnityEngine.Vector3' to 'UnityEngine.Quaternion' 1 Answer
Can only go horizontally while walking on walls, and not vertically 0 Answers
How can I get my object to move in only one direction at a time? 1 Answer
Path Movement created from user input.mouse and player follows it. 0 Answers