You probably need to normalize the movement vector3. This will scale the vector so the magnitude results in 1. After that you can multiply the vector by a speed.
@EJN Yeah I did that, it just made the player keep moving for longer once the button is unpressed. Using GetAxisRaw with this fixes that, but means the player stops on a dime, which is a bit awkward to see.
Comments
you should use Time.deltaTime in coding if you use transform or Rigidbody
I'm using a character controller. I followed Brackey's tutorial for FPS movement.
i know , do you any script you add it with character controller?
You probably need to normalize the movement vector3. This will scale the vector so the magnitude results in 1. After that you can multiply the vector by a speed.
@EJN Yeah I did that, it just made the player keep moving for longer once the button is unpressed. Using GetAxisRaw with this fixes that, but means the player stops on a dime, which is a bit awkward to see.
Thats weird.
Can you show me the code?