Hi there!
I have an AI driven character that has been using CharacterController.SimpleMove so far, and all good. But now I need this character to jump. When trying to switch over CharacterController.Move, my character suddenly starts moving in a different manner, even if I use the same direction vector.
I used to move my character this way:
Vector3 dir = (targetPosition - transform.position).normalized;
dir *= speed * Time.fixedDeltaTime;
controller.SimpleMove (dir);
If I just change “.SimpleMove” in this code to “.Move” , the character will run move much faster. Why is that? What can I do to behave same way as with SimpleMove?? Is it because of the gravity? What is the gravity SimpleMove applies?
Thanks!