Blend tree and transitions question

hi all, can somebody help me?

I looked blend tree tutorials and understood how for example create 2d blend tree for walk - run - turn left right animations, but i also have such transition animations as from idle to run straight, from run to idle, from run forward to run backward - 180 turn animation in run state, differs from turn animation in idle or walk states, walk downstairs, run downstairs, run upstairs, walk upstairs, so how i can add that animations? Should i create individual transitions from one animation to another besides main walk-run-turn 2d blend tree, or should i add they in this tree and how?

Some should be blend trees, others should be separate states with transitions.

If you have a idle-to-run animation clip, it shouldn’t be part of a blend tree. Instead, you’ll crossfade from an idle state to an idle-to-run state, then crossfade from idle-to-run to your movement blend tree state:

[idle] --(exit time)–> [idle-to-run] --(exit time)–> [blend tree]

For run, walk, and turning, you’ll have a blend tree state that blends between on the current speed and angle of turning.

When moving downstairs, you’ll probably want to transition to a different blend tree state that blends between walk-downstairs and run-downstairs.

3 Likes