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
| Type | Name | Description |
|---|---|---|
uint32_t | totalBodies | Default 0. |
uint32_t | maxBodies | budget from PhysicsConfig Default 0. |
uint32_t | activeBodiesDynamic | Default 0. |
uint32_t | activeBodiesKinematic | Default 0. |
uint32_t | dynamicBodies | Default 0. |
uint32_t | staticBodies | Default 0. |
uint32_t | kinematicBodies | Default 0. |
uint32_t | constraintCount | Default 0. |
uint32_t | sleepingBodies | dynamic bodies Jolt has put to sleep Default 0. |
uint32_t | activeIslands | groups of awake bodies joined by a contact or a constraint; only counted while something shows it Default 0. |
uint32_t | contactsThisFrame | from MowoContactListener Default 0. |
float | lastStepTimeMs | Wall-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. |
float | avgStepTimeMs | exponential moving average, alpha=0.1 Default 0.0f. |
Generated from Physics/PhysicsDebug.h via physics.json · Nov 4, 2026Version 1.0.0