This module has now been replaced by Matter.Collision.

All usage should be migrated to Matter.Collision. For back-compatibility purposes this module will remain for a short term and then later removed in a future release.

The Matter.SAT module contains methods for detecting collisions using the Separating Axis Theorem.

Deprecated

Hierarchy

  • default

Constructors

Methods

Constructors

Methods

  • Detect collision between two bodies using the Separating Axis Theorem.

    Parameters

    Returns null | ICollision

    collision

    Deprecated

    replaced by Collision.collides

    Method

    collides

Generated using TypeDoc