Character Walk animation stops playing after character attack animation

I have set up my character with an animation BP using a blendspace 1D, this works and the character cycles through idle, walk and run appropriately based on speed. When the character attacks I have used the ‘Play Animation’ node (in the character BP) to play an attack animation. After this animation is complete the character’s idle, walk and run cycle no longer plays when it moves and instead the character just moves toward the player in its default pose.

That’s because your animation mode is set to animation sequence upon ‘Play Animation’ node getting executed. To fix it you can change it back to “Use Animation Blueprint” by using this node. The ‘target’ should be your mesh component.

image

A better approach is to use animation montage. With montage, you don’t have to worry about this reset.

3 Likes