Calculates statistics about a particular set of Collisions.

Statistics are simply stored in public properties, there are no 'getter' or 'setter' methods.

Properties

detectedTime: number = Infinity

time when earliest collision was detected

estTime: number = Infinity

estimated time of earliest collision, or NaN if can't determine

minDistance: number = Infinity

the minimum --least positive or most negative-- distance among the collisions

numCollisions: number = 0

number of collisions

numContacts: number = 0

number of contacts

numImminent: number = 0

number of imminent collisions

numJoints: number = 0

number of joints

numNeedsHandling: number = 0

number of collisions that need to be handled

numNonContact: number = 0

number of collisions that are not resting contacts

Methods

Generated using TypeDoc