crashcat docs
    Preparing search index...

    Type Alias CastRaySettings

    type CastRaySettings = {
        collideWithBackfacesConvex: boolean;
        collideWithBackfacesTriangles: boolean;
        treatConvexAsSolid: boolean;
    }
    Index

    Properties

    collideWithBackfacesConvex: boolean

    if true, convex shapes (and planes) are also hit where the ray exits them, otherwise only where it enters

    collideWithBackfacesTriangles: boolean

    if true, back facing triangles (triangle meshes) are hit, otherwise they are ignored

    treatConvexAsSolid: boolean

    if true, ray starting inside convex shape returns hit at fraction 0. when false, only surface hits are reported