Game dev
Saved & recent

Animation state machine

Related terms: animator, blend tree, crossfade, motion matching

A graph that decides which clip plays. Each box is a state with a clip. Arrows are transitions with a condition. The character is in exactly one state, or blending between two during a crossfade.

A blend tree mixes several clips by a parameter, for example walk and run mixed by speed.

Further reading
Epic Games: State machines
speed > 0 speed = 0 jump jump landspeed = 0 landspeed > 0 idle run jump
Each state plays a clip, shown here by one of its poses, and each arrow is a transition with its condition. The violet state, run, is the one playing now.

View in the full Game dev collection