- Home /
CharacterController.Move() and zero values.
Hi guys.
I am currently moving my CharacterController by a vector representing simple gravity (i.e. it only has a value for the y component). When I apply the vector via CharacterController.Move() it causes the x and z components of the transform of the object I am moving to be changed, despite the x and z components being zero (put these values out to the console and they are 0 with no decimal value).
I have tested this with Vector3.zero as well and received the same results. The x and z components will change, but strangely, the y component will not change when a movement of 0.0f is applied.
If anyone understands why this is happening I would appreciate more information on the situation.
Thanks!
Your answer
Follow this Question
Related Questions
Gravity for my AI 0 Answers
How reliable are isGrounded checks? 1 Answer
Can't change vector direction 0 Answers
CharacterController Gravity 2 Answers