Static clearStatic createCreates a new pairs structure.
Optional options: { Optional collisionOptional collisionOptional collisionOptional list?: IPair[]Optional table?: { [x: string]: { id?: string | undefined; bodyA?: { angle?: number | undefined; anglePrev?: number | undefined; angularSpeed?: number | undefined; angularVelocity?: number | undefined; area?: number | undefined; ... 42 more ...; _original?: { ...; } | ... 1 more ... | undefined; } | undefined; ... 14 more ...; slop?...A new pairs structure
create
Static updateUpdates pairs given a list of collisions.
update
Generated using TypeDoc
The
Matter.Pairsmodule contains methods for creating and manipulating collision pair sets.