Trigger animation transition not working
Hi guys I'm relatively new to C#, I'm having difficulty triggering my Death animation on my player. While testing the trigger I seem to notice that the jump animation keeps overriding the death animation since my player is falling.
the code I use is:
Player.GetComponent<Animator> ().SetTrigger ("Dead");
Player being a Public Game Object
here are my nodes:
nodes.png
(62.0 kB)
Comment
Your answer
Follow this Question
Related Questions
ANIMATION STRANGELY DOES NOT PLAY 0 Answers
Selecting animation to play based on boolean 1 Answer
How to get Wwise switch containers triggering footsteps properly in Unity 0 Answers
Animation triggered by other animation, script, c# 1 Answer
Animation which uses trigger is played twice before going back to the previous state. 0 Answers