Return to idle animation after playing animation

Hey guys. I have a third person character that I want to do a some animations when I press certain keyboard keys, so I’ve made some input actions and an EnhancedInputAction, but how do I get it to play the animation and then return to the previous idle-state?

My character can’t return to the idle state after playing animation and just stays in a frozen pose that I can move around, but isn’t animating… what should I do?

You need an Animation Blueprint with a Locomotion Blendspace.

You’ll want to make an Animation Montage and play that instead. That requires a Slot in the AnimGraph of your animation blueprint.

image

When done it’ll blend back to your animation blueprint. Just playing an animation tells the mesh to use that instead of the animation blueprint, so it gets stuck, while a montage plays through the blueprint.

Right-click animation → Create → Create AnimMontage

1 Like