yolkbot
    Preparing search index...

    Interface RayHit

    The result of a ColliderSet.raycast

    interface RayHit {
        collider: Collider;
        distance: number;
        normal: Position;
    }
    Index

    Properties

    collider: Collider

    The box the ray hit

    distance: number

    How far along the ray the hit is

    normal: Position

    The surface normal at the hit