For a recent project, I was trying to trigger the same state from the Any State in the Mecanim Animator in Unity. When doing so, the transition did trigger, but it failed to flag the trigger back to “false”. This was causing some animation bugs, since the game was setup so the user can replay that level. Upon replay, the animation would get triggered twice or since the trigger was still flagged “true” before it could reset back to the original state. To fix this problem, there’s a check box called “Can Transition To Self” in the inspector which you need to turn on (it’s unchecked by default). Check it and you’re done!
Source: http://answers.unity3d.com/questions/877897/trigger-the-same-state-again.html
Related Posts
April 18, 2011
Probable Cause: Using Random Chance in Games
November 16, 2010
Random Starcraft stuff
October 9, 2011
Tapage & Meander
Beautiful visuals for the soundtracks "Tapage & Meander - California Blue" and "Meander - Suicide Was My Sydney".