- Home /
Question by
gnp89 · Aug 07, 2012 at 02:29 AM ·
charactercontrollermove
CharacterController.Move not working in X and Z axis at the same time
Hi, Im using character controller to move my characters. I need them to move in any direction, and they can even face somewhere else while moving in that direction. My problem is that if I try to move my character in X and Z axis at the same time, my character will stay still. If I move them just in X OR in Z they will move OK. I also tried moving them in X and Y, or Z and Y and they move OK too. For example: Vector3 (2,0,4) -> character not moving Vector3 (0,0,2) -> character moves OK Vector3 (2,0,0) -> character moves OK Vector3 (1,3,0) -> character moves OK Vector3 (0,3,2) -> character moves OK
Comment
The CharacterController definitely doesn't have such limitation. Post your code, so we can check if something is wrong.