crashcat docs
    Preparing search index...

    Type Alias CastRayHit

    type CastRayHit = {
        bodyIdB: number;
        fraction: number;
        materialId: number;
        status: CastRayStatus;
        subShapeId: number;
    }
    Index

    Properties

    bodyIdB: number

    id of the body that was hit

    fraction: number

    fraction along the ray where the hit occurred (0 = start, 1 = end)

    materialId: number

    material id of the hit sub-shape

    status of the ray cast

    subShapeId: number

    sub shape id of the hit shape