What does a blend tree do?
animator.SetFloat("speed", 0.5f);
- Mixes several clips
- Records new keyframes
- Splits a clip in two
- Loops the final frame
A parameter weights the clips, so walk blends smoothly into run.
Play Game Dev ▸
animator.SetFloat("speed", 0.5f);