@emile/engine / physics/collider / CollisionCallback
Type Alias: CollisionCallback()
CollisionCallback = (
pair
,a
,b
) =>void
Defined in: src/physics/collider.ts:28
Represents a collision callback.
Parameters
pair
Matter.Pair
a
b
Returns
void
Note
Entity a will always be the entity that has the collider the callback is attached to.