Hello everyone. Trying to make evade function, where character is doing a backflip. I have added root motion animation in state machine and created transition rules. But when I activate it, my character is making a backflip, camera is following capsule component, but character is going out of it and snapping back.
Here’s the video with problem:
I don’t know much, but the animation seems to be imported directly. You may need to somersault in the character’s position and reposition the capsule component while you jump backwards. I’m not sure, it just seemed that way to me.
I did that earlier, but now when I using montage instead of usual animation, cupsule component is moving too. If it will work correct, it will much better rather than calculate distance of capsule translation. Problem - I don’t know, where I can find parameter, that affects the distance.
OMG, it’s work! Just find 2 ways to fix it:
In ABP “Root motion mode” - Root motion for everything
Or
in animation - “force root lock” works too.
Thank you very much!