I have used the standard FPS Controller for my game, and I’ve got things kind of figured out but the problem is that when I move around the player and let go of WASD keys, it’s still moving for a quarter of a second which is VERY annoying. I want the player to stop moving immediately after I don’t press WASD.
How can I fix that?
2 Answers
2Set The CharacterMotor’s MaxGroundAcceleration to around 200 or so. Try different values.
Instead of using Input.GetAxis("Horizontal") and Input.GetAxis("Vertical") try changing them to use Input.GetAxisRaw instead. This fixes the “extra step” issue.