dino-ge
    Preparing search index...

    Interface RaycastOptions

    interface RaycastOptions {
        category?: number;
        ignore?: GameObject;
        includeSensors?: boolean;
        mask?: number;
        objects?: Iterable<GameObject, any, any>;
    }
    Index
    category?: number

    Ray category bits accepted by body masks. Defaults to all categories.

    ignore?: GameObject

    An object to exclude, such as the ray emitter.

    includeSensors?: boolean

    Include sensor bodies. Defaults to false.

    mask?: number

    Body categories the ray can hit. Defaults to all categories.

    objects?: Iterable<GameObject, any, any>

    Defaults to the active scene or the global object collection.