Documentation
    Preparing search index...

    Interface CollectContactImpulsesOptions

    interface CollectContactImpulsesOptions {
        color?: DebugColor;
        scale?: number;
        skipZero?: boolean;
    }
    Index
    color?: DebugColor

    Colour. Defaults to DEBUG_DRAW_DEFAULT_COLORS.

    scale?: number

    World units drawn per newton-second of impulse. Defaults to 1; a real overlay picks it from the scene's mass scale. Impulses are per fixed step, so this length is not comparable across different fixed deltas.

    skipZero?: boolean

    Skip contacts whose impulse is exactly zero — speculative and sensor contacts (§29, §31), which would otherwise each cost a degenerate segment. Defaults to true.