Do not execute an animation event.
Hey guys, i'm doing some tests and i made a fire gun animation, in the first frame have an event that trigger the fire in code, until here it's every thing ok, but the problem is, when the animation start, it have a transition from the last state, so when the gun, start to move, it shot already, and it wasn't in the correct position yet, so the shot code is called with the gun pointing down. what can i do for the gun just fire when animation isn't in transition?
This is the animation And this is the transition from the preview state
Your answer
Follow this Question
Related Questions
Animator in child receives float from parent but animation doesn't change when condition is met. 1 Answer
Don't know how to end animation of shooting ! (code) Please help ! 0 Answers
Animator consecutive set parameter problem 0 Answers
Animator CrossFade or Animator Transition 1 Answer
How to get quick animation transition variants on start? 0 Answers