Question by
Concealment · Jul 24, 2016 at 02:59 PM ·
transformtranslate
When I translate my character it go to a strange z position.
Sorry i dont know how to type a precise question .
I translate my character like:
lastHitChr.transform.Translate(Vector3.forward * movingSpeed * Time.deltaTime);
before moving it's eulerAngles is (0 , 90 , 0) position is (10 , 0 , 0) and after moving the position turn to (10.24849 , 0 , -2.962237E-08 )
x is what i want but why my position z look so strange ?
Comment
Your answer
Follow this Question
Related Questions
"transform.Translate" doesn't works 2 Answers
How to Move an Object to a Random Position 0 Answers
GameObject doesn't move 1 Answer
What is the difference between translate and position 1 Answer
Perspective camera touch movement 2 Answers