- Home /
,Animation trigger is always set as "activated"
,If I only set the trigger it appears as desactivated, but when I write a conditional in C# : ( if (enSuelo && Input.GetButtonDown ("Jump")) rigid.velocity = new Vector2 (rigid.velocity.x - 4f, jumpForce); anim.SetTrigger("Epa"); ) The trigger appears always as activated, it doesn't matters if I push the "jumper" or not, it's activated from the beggining of execution. I can't find a solution, all the issues I found spoke about the problems with transitions but thats not my case. Sorry for my bad english and thanks for help :)
Your answer
Follow this Question
Related Questions
"Empty" Animator transition is overriding other trigger based transition 1 Answer
making a chair animate float and fall 0 Answers
how to get current gameObject animator triggers? 1 Answer
Trigger not playing animation 1 Answer
how to stop/disable animation/animator on trigger in another gameobject? -1 Answers