struct

PhysicsStats

Snapshot of physics-side counts and timing, refreshed once per PhysicsSystem::Update tick. Cheap to read (POD, no atomics) — the UI pulls it directly without locking.

Module
Physics
Header
#include "Physics/PhysicsDebug.h"
Namespace
Mowo

Properties

TypeNameDescription
uint32_ttotalBodiesDefault 0.
uint32_tmaxBodiesbudget from PhysicsConfig Default 0.
uint32_tactiveBodiesDynamicDefault 0.
uint32_tactiveBodiesKinematicDefault 0.
uint32_tdynamicBodiesDefault 0.
uint32_tstaticBodiesDefault 0.
uint32_tkinematicBodiesDefault 0.
uint32_tconstraintCountDefault 0.
uint32_tsleepingBodiesdynamic bodies Jolt has put to sleep Default 0.
uint32_tactiveIslandsgroups of awake bodies joined by a contact or a constraint; only counted while something shows it Default 0.
uint32_tcontactsThisFramefrom MowoContactListener Default 0.
floatlastStepTimeMsWall-clock time spent inside the last Jolt Step (single substep). The engine's fixed timestep can trigger multiple substeps per Update; this is just the most recent one — for an average use avgStepTimeMs. Default 0.0f.
floatavgStepTimeMsexponential moving average, alpha=0.1 Default 0.0f.
Generated from Physics/PhysicsDebug.h via physics.json · Nov 4, 2026Version 1.0.0