Documentation
    Preparing search index...

    Interface CollectContactPointsOptions

    Options for collectContactPoints.

    interface CollectContactPointsOptions {
        color?: DebugColor;
        includePointOnB?: boolean;
        normalColor?: DebugColor;
        normalScale?: number;
        size?: number;
    }
    Index
    color?: DebugColor

    Contact point colour. Defaults to DEBUG_DRAW_DEFAULT_COLORS.

    includePointOnB?: boolean

    Also mark pointOnB. Defaults to false: the two points coincide except while the surfaces interpenetrate or a contact is speculative (§31), so the second cross is usually a duplicate — worth turning on precisely when penetration is what you are looking at.

    normalColor?: DebugColor

    Normal colour. Defaults to DEBUG_DRAW_DEFAULT_COLORS.

    normalScale?: number

    Length of the drawn normal, in world units (the normal is unit length, so this is the whole segment length). Defaults to 0.25; 0 draws no normals.

    size?: number

    Cross arm half-length for each contact point. Defaults to 0.05.