33 · Animation · 2D and 3D

Squash and stretch

Make things feel springy by deforming them.

Stretching an object along its motion while it moves fast, and squashing it flat when it lands, makes it look soft and alive. It is the oldest animation principle and costs a few lines of code: scale one axis up and the other down by the same ratio so the volume stays the same.

Space bounceQ squash on/offTap the scene to bounce

Try this: Bounce the ball with squash off, then on (Q). Push the slider to exaggerate.

Bounce the ball.

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.

Add squash and stretch to the visual only: stretch along velocity and shrink the other axes to keep volume, squash wide on landing, spring back to normal over 0.15 s, and scale from the feet so characters never sink into the floor.

42 words · one sentence to paste as is

Where it's used

Common mistakes

Scaling the collider instead of the visual, scaling from the centre so characters sink into the floor, not preserving volume (objects just grow), and constant wobble that makes precise movement hard to read.

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.