Static Protected _overlapABStatic Protected _overlapBAStatic Protected _supportsStatic Protected _findStatic Protected _overlapStatic Protected _projectStatic collidesDetect collision between two bodies.
A collision record if detected, otherwise null
collides
Static createCreates a new collision record.
A new collision record
create
Generated using TypeDoc
The
Matter.Collisionmodule contains methods for detecting collisions between a given pair of bodies.For efficient detection between a list of bodies, see
Matter.DetectorandMatter.Query.See
Matter.Enginefor collision events.