Collision contacts are used internally by Excalibur to resolve collision between colliders. This Pair prevents collisions from being evaluated more than one time


  • CollisionContact



colliderA: Collider

The first collider in the collision

colliderB: Collider

The second collider in the collision

id: string

Currently the ids between colliders

info: SeparationInfo

Information about the specifics of the collision contact separation

localPoints: Vector[]

Local space contact points between colliderA and colliderB

mtv: Vector

The minimum translation vector to resolve overlap, pointing away from colliderA

normal: Vector

The collision normal, pointing away from colliderA

points: Vector[]

World space contact points between colliderA and colliderB

tangent: Vector

The collision tangent