35 · Animation · 3D (and skeletal 2D)

Animation blending

Mix walk and run smoothly by speed.

Switching straight from a walk clip to a run clip makes the character pop. A blend space mixes poses by weight based on a value like speed, keeping the feet in step, and crossfades between unrelated clips over a fraction of a second, so movement looks continuous.

←→ moveB blending on/offHold ◀ or ▶

Try this: Hold a direction: the runner speeds up from idle to walk to run. Without blending the pose pops at each speed step (count the pops). Turn blending on and the stride grows smoothly.

Pose pops 0

Snapping: hold a direction and watch the pose jump at walk and run speed.

Prompt bit

Works for 2D or 3D in any engine (Unity, Unreal, Godot, web). Paste the short one for a quick fix, or the detailed one when you want it done properly.

Blend locomotion by speed: a 1D blend space with idle at 0, walk at 1.5 m/s and run at 5 m/s, cycles synced by normalized time so feet stay in step, 0.2 s crossfades for unrelated clips, and no blending through idle on turns.

44 words · one sentence to paste as is

Where it's used

Common mistakes

Hard switching between walk and run, blending clips that are out of phase so legs scissor, driving the blend with raw input so it jitters, crossfades so long the character slides, and foot sliding from mismatched playback speed.

Writing this with an AI assistant? See our best AI coding assistants for game developers.

Missing a concept? Request one.

Related concepts

New concepts, in your inbox.

One short email when we add new concepts, plus our weekly roundup of AI tools for game devs. Unsubscribe any time.