Soft Step solver / substepping
Box2D v3's rigid-body solver: many small substeps with soft, spring-like constraints, and relaxation passes, replacing iteration-heavy sequential impulses.
Also known as Soft Step
In the family Simulation & animation, rigid body
Where it runs
Built inOfficial add-onPluginNone foundNot researched
| Engine | Support | How |
|---|---|---|
| three.js r187 | None found | |
| Babylon.js 9.38.0 | None found | |
| Godot 4.7 | Built in | Project Settings > physics/jolt_physics_3d/simulation/velocity_steps and position_steps docs |
| Unity | None found | |
| Unreal 5.7 | Built in | Project Settings > Engine > Physics > Framerate > Substepping (PhysicsSettings.substepping and max_substeps) docs |
| Blender 5.2 | None found | |
| WebGPU W3C | None found | |
| Metal | None found |
How it works
Soft Step integrates with substeps (typically 4). In each substep it runs a soft pass: constraints are formulated as springs with a hertz and damping ratio converted into bias, mass and impulse scales, so large corrections are applied gently and stably. It integrates velocity and then position, and finishes with a relaxation pass at zero bias that removes the velocity added by the bias, followed by restitution. Solving once per substep with substepping instead of many iterations, combined with graph colouring, yields stable stacks that parallelise well. The idea follows the 'small steps beat many iterations' finding for XPBD, and Solver2D compared several solvers (PGS, soft step, TGS, NGS) on identical scenes.
When to choose it
Reach for it when
- rigid body stacks jitter and are unstable
- physics joints stretch under heavy load
- need robust stable game physics at fixed time step
- stiff contacts cause bouncing in rigid body solver
Choose it when you want robust stacking, joints and large worlds with predictable behaviour and multithreading. Prefer Sequential impulses (rigid bodies) for the simple, well-documented older approach with fewer parameters, Extended Position-Based Dynamics for position-based soft bodies and cloth, and MuJoCo articulated-body dynamics with convex contacts for articulated robots.
Field marks
- Soft contacts give slightly spongy penetration depth under heavy loads, so spring hertz must be tuned
- More substeps raise cost linearly; too few and tall stacks wobble
- Restitution needs a separate pass and is lossy at fast speeds
- Large mass ratios still stretch joints
Lineage
From the citation graph (Crossref reference lists): its primary source cites Implicit cloth integration (Baraff-Witkin), Position Based Fluids, Extended Position-Based Dynamics, Unified particle physics, Position Based Dynamics.
Sources
- primaryMiles Macklin, Kier Storey, Michelle Lu, Pierre Terdiman, Nuttapong Chentanez, Stefan Jeschke et al. (2019). Small steps in physics simulation. Proceedings of the 18th annual ACM SIGGRAPH/Eurographics Symposium on Computer Animation.Verified via crossref · 2026-11-29doi:10.1145/3309486.3340247
- implementationerincatto (2024). erincatto/solver2d. A project for testing rigid body solver algorithmsGitHub API · license MIT · 2026-11-29
- implementationerincatto (2015). erincatto/box2d. Box2D is a 2D physics engine for gamesGitHub API · license MIT · 2026-11-29