Stringing Together Animation Sequences

Hello Everyone,

I thought this would have been fairly simple but struggling for some reason.

I want an NPC character to perform several animations in my Map.

Example:

Animation Sequence 1 : has the NPC walk from point A to point B while observing his employees
Animation Sequence 2 : Then NPC folds his arms and idles for a bit.
Animation Sequence 3 : NPC turns around and walks back from point B to point A

I tried placing all 3 animations into an Animation Montage. All 3 animations have Root Motion but check box unticked.

AS1 fires off with no issue, once it gets to AS2, the NPC snaps back to its starting position then animation plays. Then AS3 fires off again playing at the NPC’s starting position.

The objective is to have all of the AS’s to play where the previous AS ended (location of the NPC)

I saw a video using the Animation Sequencer perform this perfectly but I dont want this to be a sequence. I want the NPC to perform its animations while you as the player character move around and interact in the world setting.

Hey @WrathOfAl!

You probably need that root motion! What root motion does is it changes the root of the actor as the movement goes. You probably just need to enable root motion on the actor blueprint, and get the settings just right on the animations as well.

Hope this helps, let us know with pictures if there’s more we can do!

Thank you!

I actually figured this one out !

Indeed the Root Motion was the culprit but it was in my Animation Blueprint.

Once I changed this setting to everything, it worked like a charm !!

1 Like

Something you may want to play around with:

Make sure your character’s collision is set to “Is Visible” so you can see the collision/root movement.

Now look here on your animation:
image

The “Root Motion Root Lock” has Ref Pose, Zero, and anim first frame.

Play around with these, you WILL get different results! :slight_smile:

Edit: Same time! :smiley: Glad you got it!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.