Download

Play stop animation when character stops moving

I’m quite bad at explaining so bare with me…
My problem is that I want my character to play an animation when it stops moving, I “think” I got the basics done the only thing I can’t figure out is how to make the function know when it moves or not…
PS: If I check the bool “IsNotMoving” it actually uses the animation in the preview window. (not sure if this proves anything tho)
I have tried everything and I can’t find anything on google either. (probably missed something)

Here is the animation blueprint.

Hi Minimango, where are you setting your bIsNotMoving? It might be easier to play the stop animation as part of your Locomotion state machine. Otherwise try this, store the previous ticks Speed in a new variable, if it was >0 previously and the current speed is = 0 then set your bIsNotMoving to true, and remove the DoOnce node as it isn’t being reset in any way (or reset it using an anim notify in your stop animation AND when you start moving again).

Sorry took a while to respond, could you give me a picture? i’m kind of lost when it comes to words…