We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
检测器,用于检测碰撞
Matter.Detector.canCollide(filterA, filterB)
创建拘束并且返回constraint对象
如果给定的冲突过滤器都计算到碰撞会发生则返回true(待确定)。更多信息请查看body.collisionFilter
Matter.Detector.collisions(broadphasePairs, engine)
从给定的列表里寻找所有的冲突