← Mon, Nov 23 digest

Advanced Character Physics (2001) [pdf]

read article ↗ hn thread ↗

Thomas Jakobsen's seminal 2001 paper outlines a fast, stable, velocity-less Verlet integration and relaxation method for real-time character physics used in Hitman: Codename 47.

read it This foundational 2001 paper is essential reading for game developers and graphics programmers looking to understand efficient, stable position-based dynamics without complex mathematics.

summary

Thomas Jakobsen details a physically-based modeling approach developed for IO Interactive's game Hitman: Codename 47, prioritizing speed and stability over strict accuracy. By replacing traditional Euler integration with a velocity-less Verlet scheme and handling collisions and constraints via iterative relaxation and projection, the engine efficiently simulates cloth, plants, and ragdolls. The paper walks through particle systems, cube collision boundaries, stick constraints, cloth meshes, and square root approximations to optimize performance. Ultimately, this approach demonstrates how robust interactive physics can be achieved with minimal computational overhead and simple code.

key points

  1. Verlet integration eliminates explicit velocity storage, improving numerical stability and coupling smoothly with position-based constraints.
  2. Collisions and resting contacts are handled by projecting penetrating points directly out of obstacles rather than using spring penalties or time-rewinding.
  3. Complex structures like cloth and plants are modeled using networks of rigid distance constraints solved iteratively via relaxation.
  4. Taylor-series approximations of square roots eliminate costly square root operations per constraint, speeding up simulations significantly.

who should read it

Game developers, graphics programmers, and simulation engineers interested in real-time physics algorithms.

discussion warm

best comment by enjoyyourlife ↗

For a demo: https://claude.ai/artifact/YV3wTiemkwoKcBthirFp33

Provides an interactive Claude artifact demo allowing readers to experiment with the paper's physics concepts directly.

Generated by an LLM from the article and thread. Check the sources before relying on it.