- Home /
mecanim stuck
Hi all, I have been working on fps project recently and in have run into an issue in the animator. The animation work fine until I try firing the gun too quickly at which point the shoot animation freezes on the last frame and wont transition out of shoot. I have included the relevant portions of my code.
if (Input.GetButtonDown("Fire1")) { animator.SetBool("fire", true); }
public void off() //activated by event in animation { animator.SetBool("fire",false); }
Your answer
Follow this Question
Related Questions
How to get an Animator to call an Animation in script? 0 Answers
Parameterized Animation Clip 0 Answers
Animation editor Issue and a weird disappearing bug 1 Answer
Mirroring animation clip without mirroring root motion node? 0 Answers
Animator Override Controller changed at runtime doesn't always play the animations correctly 1 Answer