Studio › Manual › State machines

State machines: blend spaces

A blend space places clips along one parameter (1D: idle at 0, walk at 2, run at 6 by speed) or on a plane of two (2D: directions by move_x and move_y). Between the points the clips blend by distance, kept in step with each other, so a walk turns smoothly into a run.

  • Choose 1D Blend Space or 2D Blend Space as the state's Motion, and the parameter(s).
  • The picture shows the points: drag one to place its clip (one undo step), or type its place in the list. Add Point adds a clip.
  • The green dot is the preview's value: drag it (or ⌥-drag on a point) to set the parameters and see the weights; each point grows with its weight.

In the game, a Bones skeleton blends the clips' poses (one track per clip); sprites and 3D models show the clip that counts most.

Keys are shown as on the Mac: ⌘ Command, ⌥ Option, ⌃ Control, ⇧ Shift. Studio for Windows shows its own keys beside each menu item.