Using Rootmotion based Locomotion with AI Navigation

project files : Today I am going to address a fundamental problem we have in unreal when we try to use rootmotion based locomotion system with AI navigation. The problem is, usually the locomotion animations are not rootmotion enabled and animation is played considering the velocity of the character just to justify the movement of the character. When we call an AI_MoveTo event on a character with such an animation setup, the character will move to the destination with the animation without any issue. But if we have implemented the character locomotion using rootmotion enabled animations, this usual method will move the character but it wouldn’t play the right animations. So, to resolve this problem, I am going to implement a custom AI_MoveTo event which supports AI path navigation with root motion enabled locomotion animations. Support my work : Like my facebook page for more content : Follow me on twitter : Follow me on reddit : #CodeLikeMe #unrealengine #ue4 #indiegamedev
Back to Top