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

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

Constructors

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

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard