PhysicsSub-Stepping Solver

A 14-row pyramid under low solver iterations. Left: subSteps=1 — jitters endlessly (orange). Right: subSteps=4 — settles to sleep (green). Click to drop more boxes.

Loading engine…
FPS: — Bodies: — Step: — Drag or tap the canvas to interact. Switch renderer with the 2D / 3D / PixiJS buttons.
GitHub

Engine features used

SubStepsStackingStabilityPerformance

Related guides

More demos

All Physics demos →