I have a character roll forward animation, presently press the space to play the animation normally, but the position of the character does not move forward, how should we deal with it?

Help, please