Counters

constructor(bodyCount: Int, shapeCount: Int, contactCount: Int, jointCount: Int, islandCount: Int, stackUsed: Int, staticTreeHeight: Int, treeHeight: Int, byteCount: Int, taskCount: Int)

Parameters

bodyCount

Number of bodies in the world

shapeCount

Number of shapes in the world

contactCount

Number of contacts in the world

jointCount

Number of joints in the world

islandCount

Number of simulation islands

stackUsed

Stack memory used in bytes

staticTreeHeight

Height of the static broadphase tree

treeHeight

Height of the dynamic broadphase tree

byteCount

Total memory used in bytes

taskCount

Number of tasks used in the last step