Mixamo Animation Help

Hi am trying to use the mixamo Adam character as an enemy in my game. And I have modified the animation blueprint provided to trigger him to use his attack animation when he attacks me. I want him to use his slash sword animation, but instead he is using his shooting gun animation. I don’t understand why it is defaulting to the shooting animation. I don’t know where you are supposed to specify which animation to use. Please help I can send pictures and files if needed.

FYI I am following the examples in the book “learning c++ by creating games with ue4” and I am on Chapter 11.

i would take a look into their base class (parent class, adam is derived from) as values get read from the character class into the anim blueprint specified on the skeletal mesh inside the character blueprint

Hmm… I looked in the parent class, but I didn’t see anything. I am very new to unreal so I still don’t understand how everything works. Here is my blueprint.

I added the AnimNotify_SwordSwung. When I break the links the attack animation doesn’t play, but when they are connected it plays the shooting animation. The book I am following never told me where to specify which animation should play. I did the same thing as them and their’s just plays the right animation.

im actually not at my workstation so i can. not look into the mixamo stuff,
but you will find a state machine inside the anim blueprint.
i would take a look to the very first unreal tutorials by zak parrish which handles animations in state machines.
in the update of your animBP you read all variables you gonna need, and your state machine handles the animations depending on those variables.
so the flow is like this pawn variables->animBP update (create new variables you need inside animBP and read them out from your pawn inside update)->state machine

Thank you! I actually figured it out! I found the attacking state anim graph and changed the animation.

nice mate, have fun :slight_smile: