AutoMovie API
    Preparing search index...

    A named time-dependent nearest-surface query with optional departure certification.

    nearest receives world segment endpoints and seconds since the supplied flight's launch; ids must be unique in the searched collider list. projectileFirstContact invokes these synchronous callbacks repeatedly and propagates errors; returned hit vectors may borrow the callback's result, so preserve their contents. An absent or undefined departure certificate retains ordinary initial-overlap reporting. A certificate is checked by the shared contact resolver and cannot excuse other colliders or later reentry.

    interface ICollider {
        id: string;
        departure?(
            projectile: IAutoMovieProjectile,
            options: IAutoMovieProjectileFirstContact.IOptions,
            contact: IInitialContact,
        ): Departure | undefined;
        distance?(
            a: IAutoMovieVector3,
            b: IAutoMovieVector3,
            seconds: number,
        ): number;
        nearest(
            a: IAutoMovieVector3,
            b: IAutoMovieVector3,
            seconds: number,
        ): IAutoMovieProjectileFirstContact.INearest;
    }
    Index
    id: string

    Unique id among the colliders.