I got some problem about setting up the root motion animations. I downloaded a Mixamo animation, I used a blender plugin to add a root skeleton to the animation and to the character. I imported them into Unreal engine. On the animation sequence from the asset details I checked EnableRootMotion and in the animation blueprint under Anim preview edit -> **Edit defaults **I set **Root motion from montages only **to Root motion mode. The animation plays fine. The only problem is that when the animation moves the character in the gam0e, the capsule component does not follow the character and when the animation finishes to play the character pop back or get dragged in the capsule component (which is ugly). I made the same test with the animation Death_1 from the AnimStarterPack (Downloaded from epic games market) and the same thing happened (the animation played but the capsule component does not follow the character and when the animation finishes to play the character pop back into the capsule).
I imported the animation **RootMotionExample **from the example content -> AnimationDemo-> animationsinto my project and with that animation the capsule follows the character and when the animation finishes to play it does not get back to where it was when it started the animation. Which is the behavior I expected.
My question is why the capsule component did not follow the characters when playing the animation in the previous ones and why the character pop back to the position where the animation started in the previous ones?