---
id: "soft-step-solver"
title: "Soft Step solver / substepping"
aliases: [Soft Step]
domain: "simulation"
stage: "simulation"
realtime: "realtime"
platforms: [cpu, webgl2, webgpu]
year_introduced: 2024
inputs: [mesh]
outputs: [animation]
style: "both"
dynamic: "dynamic"
cost: "cheap"
authority: "Catto"
url: "https://texelatlas.vercel.app/t/soft-step-solver/"
sources_verified_at: "2026-11-29"
---
# Soft Step solver / substepping (Catto)

> Box2D v3's rigid-body solver: many small substeps with soft, spring-like constraints, and relaxation passes, replacing iteration-heavy sequential impulses.

## 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

## 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 use it

Choose it when you want robust stacking, joints and large worlds with predictable behaviour and multithreading. Prefer [Sequential impulses (rigid bodies)](https://texelatlas.vercel.app/t/sequential-impulses.md) for the simple, well-documented older approach with fewer parameters, [Extended Position-Based Dynamics](https://texelatlas.vercel.app/t/xpbd.md) for position-based soft bodies and cloth, and [MuJoCo articulated-body dynamics with convex contacts](https://texelatlas.vercel.app/t/mujoco-articulated-dynamics.md) for articulated robots.

## Cost

cheap — Cheap per substep; total cost is substeps x constraint pass plus relaxation.

## Failure modes

- 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

## Engine support

- godot: builtin — `Project Settings > physics/jolt_physics_3d/simulation/velocity_steps and position_steps` (evidence: https://github.com/godotengine/godot/blob/4.7.2-stable/modules/jolt_physics/jolt_project_settings.cpp, checked 2026-12-01)
- unreal: builtin — `Project Settings > Engine > Physics > Framerate > Substepping (PhysicsSettings.substepping and max_substeps)` (evidence: https://dev.epicgames.com/documentation/en-us/unreal-engine/python-api/class/PhysicsSettings, checked 2026-12-01)

## Dataflow

- Inputs: mesh
- Outputs: animation
- Platforms: cpu, webgl2, webgpu

## Lineage

- extends [Sequential impulses (rigid bodies)](https://texelatlas.vercel.app/t/sequential-impulses.md)

## Sources

1. [primary] Erin Catto Solver2D. box2d.org. https://box2d.org/posts/2024/02/solver2d (verified via http on 2026-11-29)
2. [primary] Miles Macklin, Kier Storey, Michelle Lu, Pierre Terdiman, Nuttapong Chentanez, Stefan Jeschke, Matthias Müller (2019) Small steps in physics simulation. Proceedings of the 18th annual ACM SIGGRAPH/Eurographics Symposium on Computer Animation. https://doi.org/10.1145/3309486.3340247 (verified via crossref on 2026-11-29)
3. [implementation] erincatto (2024) erincatto/solver2d. https://github.com/erincatto/solver2d License: MIT. (verified via github on 2026-11-29)
4. [implementation] erincatto (2015) erincatto/box2d. https://github.com/erincatto/box2d License: MIT. (verified via github on 2026-11-29)

## Cite this entry

Texel. "Soft Step solver / substepping." https://texelatlas.vercel.app/t/soft-step-solver/ (accessed 2026-12-01).
