Movement Animation and Root motion

Hi everyone,

Need a hint please, i cannot find the solution, which is probably simple…

I have a jump forward animation with attack (kind of jump with 2 hands axe and smashing the ground). When i m playing it, either

  • my mesh is moving, but my actor is staying in place.
  • With “enableRootMotion” active, my actor and mesh stay in place.

I cannot find the way to enable my actor to move with the animation. Or do I need to “record” positioning of the mesh root and apply it to my actor with “enableRootMotion” active ?

Thanks for help

This question is so common and too many at this point.
The definition of root motion is to translate your root bone and NOT THE PELVIS bone.

It will never work for the root motion if you are using your hip/pelvis bone to translate your character. The solution is to change your translation to be your root bone this time.

I thing you get that animation from mixamo
The mixamo root motion animation not work correctly in unreal engine
Because mixamo skeleton doesn’t have root bone

If it’s from the Mixamo you have to add the root bone in blender before you import it into Unreal. Unless you don’t want to use the root motion.

Use this blender plugin to add the root bone.

Assuming the animation actually moves the root bone, and you have ticked the enable root motion tickbox in the anim asset, then by default if you play the animation using a montage it should move your character. There is an option in your animation blueprint to enable root motion from all animations and not just montages, but it’s not set to that by default.

Bro i used it
It doesn’t give good results
Have you tired it
That work perfectly??

This statement of yours is too vague. Which part did not work for you? Bare in mind that you need to tweak the settings/parameters in order to make it work. Do read the provided documentation to understand how the settings/parameters work.

Yes, I’ve been using it for 2 years now. It should work fine if you know what you are doing.

Hi all,

thanks for your replies, Yes i m using mixamo animation, but i converted them using the convertor already. There is a root bone (see pix).

Does it only work with montage ? and not with play animation node ?

Does the mesh translate when you enable the root motion? Or is it locked at the initial location?

Locked when enabling root motion. Play the full anim at the same location.

That proves your root motion worked, so now just to double check.

  1. Make sure your anim graph use this default slot node. If you have different slot, then used that slot instead, but by default it is set to default slot node.

  2. In details panel inside Anim blueprint editor, change the “Root Motion Mode” to be “Root Motion From everything”

Try these and see if it works

1 Like

Thanks a lot, i was playing the animation from my BP (not anim BP), and didn t know about this “Root motion for everything”.