Download

help | triggering player animation

Hey,
I need to trigger a “death” animation after the player walks into a trigger box, but when he walk into the trigger box he freezes in a weird position (both hands to the sides in T pose) and the animation doesn’t play.
this is the code:


why is this happening? How can I fix it?
*the animation is taken from mixamo and so is the player character, when I downloaded the new animation I used the same skin

your best bet is set a bool variable in the player character, and in the animation blueprint have the anim state change to a death state.

doing it that way, you would to create a montage of the animation then do a Montage Play. get mesh -> anim instance -> Montage Play

can you please explain more about how to do it? do you know of a tutorial about it?

This uses an enum, but the same principal