Replay
Box2D's new Replay system records a full binary snapshot of world state followed by opcodes and arguments for every API call, including steps, forces, impulses, body creation and queries with their callback results.
Box2D's new Replay system records a full binary snapshot of world state followed by opcodes and arguments for every API call, including steps, forces, impulses, body creation and queries with their callback results.
Box2D 3.1 fixes most bugs and build problems from 3.0 and adds an experimental geometric character mover built from collision queries and a specialized solver that runs outside the physics world.
Box2D v3 achieves algorithmic, multithreaded and cross-platform determinism by default with no noticeable performance cost, verified in CI by a 'Falling Hinges' test that checks the sleep step count and a transform hash across MSVC, Clang, GCC, x64 and ARM.