AutoMovie API
    Preparing search index...

    Variable projectileSphereHitConst

    projectileSphereHit: (
        projectile: IAutoMovieProjectile,
        sphere: IAutoMovieSphere,
        tMax: number,
        steps?: number,
    ) => IAutoMovieHit | null = ...

    March a IAutoMovieProjectile over [0, tMax] in steps straight segments and return the first time/point its path enters sphere, or null if it never does within the window. Sampling the arc as segments keeps the test exact per segment (the projectile is smooth, so a modest steps resolves the contact time closely).

    Type Declaration