CollisionContact
Index
Constructors
Properties
Methods
Constructors
constructor
Properties
bodyA
bodyB
colliderA
The first collider in the collision
colliderB
The second collider in the collision
readonlyid
Currently the ids between colliders
info
Information about the specifics of the collision contact separation
localPoints
Local space contact points between colliderA and colliderB
mtv
The minimum translation vector to resolve overlap, pointing away from colliderA
normal
The collision normal, pointing away from colliderA
points
World space contact points between colliderA and colliderB
tangent
The collision tangent
Methods
publiccancel
Returns void
publicisCanceled
Returns boolean
publicmatchAwake
Match contact awake state, except if body's are Fixed
Returns void
Collision contacts are used internally by Excalibur to resolve collision between colliders. This Pair prevents collisions from being evaluated more than one time