- Home /
looping last animation after transition
I have a looping idle animation and a non-looping stand-up animation. In the Animator, I have a stand-up state that transitions into idle state.
I want the stand-up state to loop in idle after the stand-up transition, but instead the whole stand-up-then-idle combination loops. How can I confine the looping to the idle after the transition?
Implementation:
The transition from Any State
to stand-up-to-idle
state is conditioned on a parameter value that is set in only one place, by a keypress, and it does NOT allow "transition to self".
I can't see the code but I suggest replacing SetBool with SetTrigger. If nothing else just to rule out a possibility of states looping because keypress event is not "consumed" by the system properly.
I'll try SetTrigger, thanks. I need to do some rewriting to isolate the issue, first.