- Home /
Gun shooting animation in mecanim
Hello I have a pistol with a idle, walk and shoot animation. I have decided to handle the animations in the mecanim it is all going fine but one thing, the shoot animation. Say if you shot really fast with the pistol(semi-automatic) it wont play the shoot animation for all the shots, you have to wait until the last animation has stopped and I don't know how I can fix this.
here is the states
,
Answer by theANMATOR2b · Jan 23, 2016 at 07:52 PM
Look into 'has exit time' http://docs.unity3d.com/Manual/class-Transition.html
Also this answer has other points to check on. http://answers.unity3d.com/questions/355576/how-to-make-a-instant-transition-with-mecanim.html
Thanks so much theAN$$anonymous$$ATOR2b :) all I had to do was mess with the transitions. It's easier then it looks.
Your answer
Follow this Question
Related Questions
Mecanim - changing animation clip speed, through script? 4 Answers
[Mecanim] How to manualy set the time on a state by code? 0 Answers
How to generate Mecanim Sub-state namehash? 6 Answers
Not able to use a Vector as a condition in Mecanim? 2 Answers
Synchronize two animator states to have the same normalized time - Mecanim 0 Answers