Contact Recycling
Contact recycling reuses one-shot contact manifolds across full time steps when two bodies have barely moved relative to each other, making narrow-phase contact generation nearly free for resting stacks or objects riding together.
Contact recycling reuses one-shot contact manifolds across full time steps when two bodies have barely moved relative to each other, making narrow-phase contact generation nearly free for resting stacks or objects riding together.
Inscribed spheres give a cheap upper bound on the separation achievable along any axis in the separating axis test (SAT): n·d − (rA + rB), where d joins the sphere centers.
Box3D uses wide SIMD to speed up the edge-edge phase of the Separating Axis Test, testing one edge of hull A against four edges of hull B at once using structure-of-arrays data.
Box2D's dynamic tree inserts a new proxy using a greedy, single-descent heuristic that approximates minimizing the surface area heuristic (SAH) instead of doing an exhaustive search, since incremental insertion is inherently greedy anyway.
Box2D 3.0 solves contact constraints with SIMD by using greedy graph coloring to group constraints so no body appears twice within a color.