AutoMovie API
    Preparing search index...

    Signed collider-surface reading against the projectile's centre segment.

    distance is metres before subtracting projectile radius; point is world metres and normal an outward world unit vector. Collider nearest callbacks produce this reading; projectileFirstContact uses its distance for the sweep and may return point/normal references in the final hit. The callback's physical model owns correctness and finite readings; a segment entering the solid has negative distance, while a capsule radius is accounted for separately.

    interface INearest {
        distance: number;
        normal: IAutoMovieVector3;
        point: IAutoMovieVector3;
    }
    Index
    distance: number

    Signed distance, metres; negative when the segment enters.

    The collider's outward unit normal there.

    The nearest point of the collider's surface, world metres.