Direction-Based Animation Switching
Main locomotion behaviours are made of only using 4 animations for each state and sync the intermediate animation state using warping (without using any BlendSpaces). These 4 animations are the Unit Animations which are directed to 4 directional movements, Forward, Backward, Left & Right. Note that, all the animations should compatible with root motions.
Then these animations are composes at Animset Data Table (For male animations DT_Animset_Male
and for female animations DT_Animset_Female
) for each set of locomotion state. For instance Cycle Cardinals of Unarmed Jog movement state are composed with below 4 directional animations.
Then at the animation blueprint level (ABP_Locomotion
) the animation to be played based on the target direction of the pawn will be selected from the available cardinal directions.