Documentation
    Preparing search index...

    Interface DebugCollisionEventLike

    The part of §29's CollisionEvent this module draws: the discriminant and the manifold. Transcribed from packages/physics/src/events.ts.

    The body/collider references and relativeVelocity/totalImpulse are omitted, not forgotten — a reference is opaque here, and totalImpulse is a per-pair sum with no point to anchor it to, while contacts[i].impulse has one (see collectContactImpulses).

    interface DebugCollisionEventLike {
        contacts: readonly DebugContactPoint[];
        type: string;
    }
    Index
    contacts: readonly DebugContactPoint[]
    type: string