phaser - v4.0.0-rc.4
    Preparing search index...
    type MatterCollisionPair = {
        bodyA: MatterJS.BodyType;
        bodyB: MatterJS.BodyType;
        collision: MatterCollisionData;
        confirmedActive: boolean;
        contacts: MatterJS.Vector[];
        friction: number;
        frictionStatic: number;
        id: string;
        inverseMass: number;
        isActive: boolean;
        isSensor: boolean;
        restitution: number;
        separation: number;
        slop: number;
        timeCreated: number;
        timeUpdated: number;
    }
    Index

    Properties

    A reference to the first body involved in the collision.

    A reference to the second body involved in the collision.

    The collision data object.

    confirmedActive: boolean

    Has Matter determined the collision are being active yet?

    contacts: MatterJS.Vector[]

    An array containing all of the active contacts between bodies A and B.

    friction: number

    The resulting friction from the collision.

    frictionStatic: number

    The resulting static friction from the collision.

    id: string

    The unique auto-generated collision pair id. A combination of the body A and B IDs.

    inverseMass: number

    The resulting inverse mass from the collision.

    isActive: boolean

    Is the collision still active or not?

    isSensor: boolean

    Is either body A or B a sensor?

    restitution: number

    The resulting restitution from the collision.

    separation: number

    The amount of separation that occurred between bodies A and B.

    slop: number

    The resulting slop from the collision.

    timeCreated: number

    The timestamp when the collision pair was created.

    timeUpdated: number

    The timestamp when the collision pair was most recently updated.