Capsule component doesn't move with Animation

(Sorry for my bad English)
Hello everyone. I have a problem with my forward jumping animation. It is a not in place animation and everytime it plays it just flips back my character and starts looping. I guess it’s because my capsule component does’nt move with my character. Please help me, I am realy new in UE4 animations. How can I make my capsule component move with my character ?.Thanks for any help.

Hey there, the way you do this is by implementing Root Motion (you can check about that here ). Overall, the way it works is that, if enabled, it uses the root bone translation and rotation to move the capsule, so you don’t have that popping effect that you are currently experiencing.

2 Likes

Thanks, I have checked the root motion in my character’s animations(I have added the root bone in Maya), but that doesn’t work, I have found out that I need to make a montage with that animation and play it, but every time I call that, it won’t play.

After you’ve set that an animation has Root Motion enabled you need to go to your Animation Blueprint and set the Root Option to Root Motion From Anim Montages or Root Motion From Everything if you want your animations from the state machine to have root motion. Take into account that Root Motion From Everything is not optimal for multiplayer games. Hope this helps.

Thank you so much, that worked !

Good to know :slight_smile:

Thank you very much!

Hi, do you know if its possible to use an animation without root motion, and instead of it popping back have it remain in its end position? or how to move the capsule collision simultaneously with the animation?

Having the capsule collision move simultaneously with the animation is what root motion does, instead of applying the root translation and rotation to the skeletal mesh component it applies to the capsule component so the mesh is always contained in the collision. If you try to move the capsule component programatically to follow the mesh you’ll have double movement on the skeletal mesh, because it’s attached to the capsule.