Time Integrators and Solvers: Why Simulations Drift or Explode
A plain-language guide to simulation time integrators and contact solvers: why explicit Euler gains energy, how semi-implicit fixes it, and how to tune stable robot sims.
In this article
- Two jobs inside every physics step
- The test bench: a damped spring
- Explicit Euler: look at now, hope for the best
- Implicit Euler: look at where you will be
- Semi-implicit Euler: the cheap trick that works
- Worked example (illustrative numbers)
- Why real robots complicate it: implicit in velocity
- The referee: how contact forces get solved
- Choosing settings by task
- A tuning loop that works
- Common mistakes
- Checklist