Pair
Index
Constructors
Properties
Accessors
Methods
Constructors
constructor
Properties
publiccolliderA
publiccolliderB
publicid
Accessors
publiccanCollide
Returns whether or not it is possible for the pairs to collide
Returns boolean
Methods
publiccollide
Runs the collision intersection logic on the members of this pair
Returns CollisionContact[]
publichasCollider
Check if the collider is part of the pair
Parameters
collider: Collider
Returns boolean
Models a potential collision between 2 colliders