Fills activeBodies and contacts from the §113 solver statistics this
package already computes (solverStatistics, debug-draw.ts).
§84's "active bodies" is §32's awake set — the bodies actually being
integrated — which is precisely SolverStatistics.awakeCount. Nothing else
in SolverStatistics maps onto a §84 counter: bodyCount,
colliderCount, and maxBodyId are solver inventory rather than frame cost;
contactCount is the one other §84 counter this walk can reach when the
adapter implements DebugBodyAccess.countContacts.
Fills
activeBodiesandcontactsfrom the §113 solver statistics this package already computes (solverStatistics,debug-draw.ts).§84's "active bodies" is §32's awake set — the bodies actually being integrated — which is precisely
SolverStatistics.awakeCount. Nothing else in SolverStatistics maps onto a §84 counter:bodyCount,colliderCount, andmaxBodyIdare solver inventory rather than frame cost;contactCountis the one other §84 counter this walk can reach when the adapter implements DebugBodyAccess.countContacts.