I have a lot of different situations where I need to animate my 2D characters into certain poses, then hold these poses until I tell the character to do otherwise.
For example I need a character to play the custom animation ShowBadge_R which is an animation of the character taking out a police badge, and I need him to hold the last frame where he is holding the badge, while he says a few lines, and then I want to tell the animation HideBadge_R to play, which plays an animation of him putting the badge back, returning to the regular idle anim.
But this doesn't seem to work as the ShowBadge_R animation just keeps looping, so my solution so far has been to create an "intermediary" animation clip with one frame of him just holding his badge, like so:
While this works, would it be possible in the Character:Animate action to have a "Hold last frame" option so I can skip the intermediary animation click? Also, any chance of a "Reverse" option that will simply play the clip in reverse?
Or am I perhaps missing some easy way to do all this already that doesn't involve lots of extra animation clips?
Comments
@Eastman: Please say if this doesn't work, and I'll revisit this. As for the "reverse" option, I don't believe Mecanim currently has the ability to do this (though I'll gladly be corrected if it does).