The Matter.Pair module contains methods for creating and manipulating collision pairs.
Matter.Pair
Static
Creates a pair.
A new pair
create
Get the id for the given pair.
Unique pairId
id
Set a pair as active or inactive.
setActive
Updates a pair given a collision.
update
Generated using TypeDoc
The
Matter.Pair
module contains methods for creating and manipulating collision pairs.