Counters
data class Counters(val bodyCount: Int, val shapeCount: Int, val contactCount: Int, val jointCount: Int, val islandCount: Int, val stackUsed: Int, val staticTreeHeight: Int, val treeHeight: Int, val byteCount: Int, val taskCount: Int)
World simulation counters for diagnostics.
Parameters
body Count
Number of bodies in the world
shape Count
Number of shapes in the world
contact Count
Number of contacts in the world
joint Count
Number of joints in the world
island Count
Number of simulation islands
stack Used
Stack memory used in bytes
static Tree Height
Height of the static broadphase tree
tree Height
Height of the dynamic broadphase tree
byte Count
Total memory used in bytes
task Count
Number of tasks used in the last step