Need help getting an Animation Montage to play

Xen0genic
Thu, 26 Mar 2015 04:14:01 +0000
Character & Animation

Hey folks. I’ll preface this by saying I am not an animator and have almost zero knowledge about animation. Since we’re a very small team, though, I’ve had to learn how to make animation blueprints but nothing fancy. So, I’ve been unable to get this montage to play. I read through this documentation, which is how I ended up with what I’ll show below: Animation Montage | Unreal Engine Documentation

I have a caster in our game that I want to animate a casting animation that consists of two parts: a 1.5 second wind-up, and then a final cast animation when the spell goes off. To accomplish that, I took the channeling animation and cast animations provided by an animator and put them into a montage that plays them in order with the right timing etc. That montage looks like this:

The montage’s preview looks correct So, the goal for this character, which doesn’t move, is simply to break its idle animation, play the montage, then go back to idling. After reading through the documentation and reading answerhub, I set up his AnimGraph like this:

I have no idea if that is correct or not. Another poster was told to do that, and the documentation did that but with a blend node, so I gave it a shot. Unfortunately, no luck.

I also went into the character’s event graph and set it up with a bool of “IsCasting,” as I saw that as another solution. That looks like this:

Since that didn’t seem to do anything, I broke out the check to remove the possibility of me not setting that bool correctly during gameplay. Now it just looks like this, and I expected it to play the montage:

Still no luck. Just to make sure I provide more information, here’s the simple state machine that he’s got. Maybe I’m doing something wrong there.

So, what am I doing wrong? Any help would be greatly appreciated. Thanks.

4 posts - 1 participant