flint

6 chapters read in order

The flint Manual

Six chapters, read in order. They move from the shape of the simulation loop down through bodies, contact, and the solver, and end at the property that ties it all together: determinism. Every code sample is real flint API; every default shown is the shipped default in v0.9.

If you only read one page, read Determinism & Rollback — it is the reason flint exists and the constraint every other chapter is written to protect.

  1. The Simulation Model 2 min A world, a set of bodies, and a step function. What flint simulates and the shape of a frame.
  2. The Fixed Timestep 2 min Why the world advances in whole ticks, how the accumulator drains real time, and how rendering interpolates the remainder.
  3. Bodies & Colliders 2 min Dynamic, static, and kinematic bodies; the four collider shapes; and the material fields that decide how contact feels.
  4. Collision Manifolds 2 min Broadphase to narrowphase, and the compact contact manifold — points, normal, penetration — that the solver consumes.
  5. The Constraint Solver 3 min Sequential impulses, warm starting, and position correction — how flint turns manifolds into believable, stable contact.
  6. Determinism & Rollback 3 min Integer-anchored math, strict ordering, and cheap snapshots — the properties that make lockstep netcode and frame-perfect rollback possible.