Answer the question
In order to leave comments, you need to log in
How to play the death animation 1 time?
Hey Ya! I have the animator and player death set up. When he dies, the death animation is played, but it loops for 1-2 frames, for the 15 seconds I specified ... then the player is destroyed.
So, how to make the animation play exactly 1 time?
The animation itself is also 15 seconds long.
Answer the question
In order to leave comments, you need to log in
In general, as always happens, I did it myself. The problem was in the boolean condition that was called every frame in the update, but for some reason I could not immediately fix this if with a second boolean change to activate the bool 1 time.
In general, I left the milf check, but changed the bool to a trigger and it all worked ..
Krch select your Animation and on the right in the inspector there will be Looping, uncheck it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question