how to implement smooth character movement with animation that does not reset every time a button is pressed. in general, if you repeatedly press the movement button, say to the right, the character will slowly, but walk, and the animation will move, while if you do this in my game, the animation starts over each time and each time only the first frame is played
I already did this, I have a state machine script, but every time I press the movement button the animation starts again, I don’t explain it well, so you can see how it’s implemented in the titan souls game