Sequential impulses (rigid bodies)
Iterative velocity-level rigid-body solver: apply impulses to each contact and joint constraint in turn, with warm starting, which is the core of Box2D and many game engines.
Also known as PGS, projected Gauss-Seidel
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 | Official add-on | @babylonjs/havok with new BABYLON.HavokPlugin(true, havokInstance) via scene.enablePhysics(...) docs |
| Godot 4.7 | Built in | Built-in JoltPhysics3D (Project Settings > Physics > 3D > Physics Engine = Jolt Physics) and GodotPhysics3D docs |
| Unity | Built in | Project Settings > Physics > Default Solver Iterations (Physics.defaultSolverIterations; PhysX iterative velocity-level constraint solver) docs |
| Unreal 5.7 | Built in | Chaos Physics iterative rigid-body solver (BodyInstance.position_solver_iteration_count and velocity_solver_iteration_count) docs |
| Blender 5.2 | Built in | Scene Properties > Rigid Body World > Solver Iterations (Bullet impulse solver) docs |
| WebGPU W3C | None found | |
| Metal | None found |
How it works
Each step finds contact manifolds, then builds velocity constraints (normal, friction, joints) in terms of Jacobians. Constraints are solved one at a time, applying an impulse that drives its relative velocity to the target, clamped to a valid range (non-negative normal impulse, friction within the Coulomb cone), and accumulated across iterations. Warm starting reuses last frame's accumulated impulses so stacks converge in a handful of iterations. Position error is corrected either by Baumgarte stabilisation (adds bias velocity) or by a separate position solve. Sleeping islands and a persistent contact cache keep it fast. It is projected Gauss-Seidel on the velocity-level LCP.
When to choose it
Reach for it when
- box stacks wobble or collapse in my physics
- need stable contacts and joints for game rigid bodies
- rigid body solver that handles many constraints iteratively
- objects jitter at rest on the ground
- build a box2d-style physics engine
Choose it for stacking, joints and general game rigid bodies. Prefer Soft Step solver / substepping for the modern Box2D v3 approach with substeps and soft constraints, MuJoCo articulated-body dynamics with convex contacts for robotics and articulated mechanisms in reduced coordinates, and Verlet integration with relaxation constraints for loose particle chains where stacking fidelity isn't needed.
Field marks
- Baumgarte stabilisation adds energy: objects jitter or pop out of penetration
- Iteration limits give soft, squishy stacks and slow tall towers
- Joint chains with large mass ratios stretch
- Restitution plus warm starting gives energy gain on resting contacts if not handled
Lineage
Crosses
- Captured rooms you can bump into: Splat captures that behave physically: walk around a real room, drop objects on its tables, knock props over. The splats keep the appearance while their extracted surface, cut into convex hulls, gives a rigid-body solver something to collide with.
Sources
- primaryErin Catto. Fast and Simple Physics using Sequential Impulses. GDC 2006.Verified via live page · 2026-11-29
- implementationerincatto (2015). erincatto/box2d. Box2D is a 2D physics engine for gamesGitHub API · license MIT · 2026-11-29
- implementationdimforge (2020). dimforge/rapier. 2D and 3D physics engines focused on performance.GitHub API · license Apache-2.0 · 2026-11-29