Having a small issue and as im a very novice coder I am positive its in my script. I have written a bare bones script to use Rigidbody for character movement. Now that im trying to set up animation I have found that even when not pressing WASD to move my character its speed is still going up. The model will be completely still but the speed increases. Do I need to change something in this script?
How are you moving the character? With a character controller? (Because I don’t see any WASD Input code).
Also, I think any Input code should go into Update() instead of FixedUpdate().
I usually have a bool (isMove) to manage the start and stopping of the movement. Regarding the animation, you’ll have to tell Unity to play and stop the animation. Something like this: (Untested)