- Home /
Mecanim attack State won't stop Looping or exit
I modified the the BotControl Script from the Mecanim tutorial to include an attack state. I set it up where the attack animation plays when I hit a button. The animation just loops forever even though I set up the state machine to return to the idle state after the animation plays.
Can anyone help?
Thanks Robert
Answer by Yung-Hustla · Jan 25, 2013 at 04:37 PM
hey robert i found the solution... got to ur animator and look at the name of ur state... it has to be the same as the one that stands in the script. just rename it i had the exacpt ssame problem :)
Your answer
Follow this Question
Related Questions
Mecanim and Lightwave 11 1 Answer
Mecanim: Backward animations only work in preview, not in game 3 Answers
Head Look for Mecanim 1 Answer
Mecanim animation pop while paused (timeScale == 0) 0 Answers