[SOLVED] Reset animation if triggered again

Every time the player shotos the gun in the game, it triggers the “Fire” parameter.
image

The “Fire” animation should play, then return to the default “Pose” animation. If a player shoots again whilst “Fire” is being played, it should restart the animation.

How should I configure the transitions? I was unable to get this working myself

Many thanks :slight_smile:

Hi @marble!

I think you can achieve this with a transition from your fire state to your default state, that has an exit time of 1.

1 Like

Perfect, this worked. Thank you very much

1 Like