FAILURE MAP
← Case archive

FA-87230 / Physics integrator stability / Member archive

Warm-start impulses are stored but never applied to velocities · case 05

The solver double-applies impulses and contacts bounce on the frame after warm starting.

Member previewVariant 5 · 3 implementations · 8 checks per implementation

Case contract

solve(vn0, vt0, w, mu, iterations, cached, warm): several contact points share one relative normal and tangent velocity with inverse mass w. Warm start each point with warm*cached [jn, jt] and apply it to the velocities. Each iteration visits points in order: friction first (accumulated jt clamped to |jt|<=mu*jn), then normal (accumulated jn clamped >=0). Return [jn list, jt list, vn, vt] rounded to 6.

Why this case matters

Game and robotics physics loops depend on integrator update order, step control and stabilization terms; a wrong decision point turns a stable simulation into drifting or exploding motion.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
case 0[[1.970033, 1.0912, 0.5448], [0.185702, 0.270618, -0.13511], 0.0, 0.073852][[0.0, 0.676433, 0.5448], [0.185702, 0.270618, 0.13511], 0.0, -1.34968]Failed

MEMBER ARCHIVE

The complete case is available to members.

This record includes three runnable implementations, regression fixtures, execution results, and source hashes.

Member access is invitation-based. Sign in with your invited account to inspect the sources.

Sign in to the archive ↗