Documentation
    Preparing search index...

    Interface DebugContactPoint

    One contact point, transcribed from ContactPoint in packages/physics/src/events.ts (§29). Vectors are world space; normal points from A towards B and is unit length.

    separation is not read by anything here — a signed distance has no obvious line to draw — but it is part of the shape and is transcribed so the mirror is complete.

    interface DebugContactPoint {
        impulse: number;
        normal: Vector3Like;
        pointOnA: Vector3Like;
        pointOnB: Vector3Like;
        separation: number;
    }
    Index
    impulse: number

    Normal impulse magnitude over the step, in newton-seconds.

    normal: Vector3Like
    pointOnA: Vector3Like
    pointOnB: Vector3Like
    separation: number