AutoMovie API
    Preparing search index...

    One moving weapon.

    interface IWeapon {
        from?: number;
        group?: string;
        id: string;
        owner: string;
        radius: number;
        tailRadius?: number;
        to?: number;
        position(seconds: number, stops: IStops): IAutoMovieVector3;
        sample?(seconds: number, stops: IStops): IWeaponFrame;
        speed?(grid: IAutoMovieResolveContactEvents.IGrid, stops: IStops): Speed;
        tail?(seconds: number, stops: IStops): IAutoMovieVector3;
    }
    Index
    from?: number

    When the weapon starts to be live, seconds, finite; it meets nothing before, whatever its path says. The span's start when absent.

    group?: string

    The rigid part this weapon is one capsule of, such as the three capsules of one striking arm: when any weapon of a group stops, the part stops as a whole, so the group's other weapons meet nothing after that second and produce no event of their own. Absent, the weapon stops alone.

    id: string

    Unique id.

    owner: string

    The body carrying it, whose own distance it ignores.

    radius: number

    The sphere's radius, metres; a capsule's radius at position.

    tailRadius?: number

    A tapered capsule's radius at tail, metres: the capsule then narrows (or widens) linearly from radius at position to this, the round cone of a limb whose girth changes from one joint to the next. Absent for a sphere and for a capsule of one radius.

    to?: number

    When it stops being live, seconds, finite and not before from; it meets nothing after, whatever its path says. The span's end when absent.

    • The weapon's speed bound on one search's grid (Speed), prepared once a search under that search's stops. With it, and a body's own, the gap between the two closes on the grid no faster than the two bounds together, so a clear gap rules out a contact at the grid seconds within that gap over that rate, and the scan reads none of them. The scan asks it from a grid second it read over a window that doubles from one grid step, at most to the weapon's live end (with the body's over the same window), so it is read no farther than twice what it certifies. A bound that a point exceeds lets a contact be missed, so only a certified one is stated; absent, every grid step is read.

      Parameters

      Returns Speed

      The bound's reader.