Blending 2D animations

I have a 2D horse animation that animates from Idle to Walking to Trotting to Galloping, with transitions in between up and down. The main state animations loop and the transition animations just go between.

When I created a blend tree, the speed would often be stuck in between animations looping, like playing the walk to trot transition. This doesn’t look natural, as the transition were only meant to go between and not loop. Also with a blend tree, I can’t play the transition animations going down, only up.

So I tried just laying out states:

Now it animates up and down, but the speed change can be fast and the transitions can take too long to get down to Idle or up to Gallop.

Has anyone tried anything like this, what’s the best way to make something like this?

Take out walk2trot and trot2gallop in your first example. The blend tree should perform these transitions for you based on your input.

Rewatch the blend tree video if needed. You nearly have what you want. :slight_smile: