How can I interrupt an animation state transition?

anonymous_user_5090adf3
Thu, 25 Apr 2019 23:18:56 +0000
Character & Animation

I have a state machine for a bird flapping animation that I’m trying to make responsive to every flap trigger.

In my state machine, I have an idle cycle that transitions to a flap animation upon a flap trigger and transitions back to idle after the flap is done. The transition back to idle is a bit long at .5 seconds, and if I hit the flap button in the middle of that transition then it doesn’t return back and run the flap animation. How can I interrupt that transition before it’s finished and run my flap animation mid transition?

2 posts - 2 participants