The Matter.Pair module contains methods for creating and manipulating collision pairs.

Hierarchy

  • default

Constructors

Methods

Constructors

Methods

  • Set a pair as active or inactive.

    Parameters

    • pair: IPair
    • isActive: boolean
    • timestamp: number

    Returns void

    Method

    setActive

  • Updates a pair given a collision.

    Parameters

    Returns void

    Method

    update

Generated using TypeDoc