AutoMovie API
    Preparing search index...
    Segment:
        | { from: number; kind: "flight"; projectile: IAutoMovieProjectile }
        | {
            deceleration: number;
            from: number;
            kind: "roll";
            origin: IAutoMovieVector3;
            rotation?: IAutoMovieQuaternion;
            until: number;
            velocity: IAutoMovieVector3;
        }
        | {
            from: number;
            kind: "rest";
            position: IAutoMovieVector3;
            rotation?: IAutoMovieQuaternion;
        }

    Flight, rolling or resting continuation on the original flight's launch clock.

    from and until are seconds since that launch; position/origin are world metres, velocity m/s and rolling deceleration m/s². projectileContinue returns a new segment but may retain source gravity, attitude or pose objects. Its at reader can return borrowed rest positions or held rotations, so consumers treat nested values as read-only. A rolling segment omits along-slope gravitational acceleration; until is Infinity only for nonzero speed with zero deceleration. Optional rotation is absent when the source has no attitude.

    Type Declaration

    • { from: number; kind: "flight"; projectile: IAutoMovieProjectile }
      • from: number

        Start on the original flight's launch clock, seconds; sample at or after this instant.

      • kind: "flight"

        A new flight, whose own time zero is from.

      • projectile: IAutoMovieProjectile

        Continuation flight with its own time zero at from; retained nested gravity and attitude data must not be mutated.

    • {
          deceleration: number;
          from: number;
          kind: "roll";
          origin: IAutoMovieVector3;
          rotation?: IAutoMovieQuaternion;
          until: number;
          velocity: IAutoMovieVector3;
      }
      • deceleration: number

        Deceleration, m/s².

      • from: number

        Start on the original flight's launch clock, seconds; sample at or after this instant.

      • kind: "roll"

        A roll from origin until until, then at rest.

      • origin: IAutoMovieVector3

        World flight-point position at the start of rolling, metres.

      • Optionalrotation?: IAutoMovieQuaternion

        Held world attitude from contact; absent if the source flight has no attitude. The continuation does not integrate rolling rotation.

      • until: number

        Seconds since the launch it comes to rest; Infinity on a frictionless roll.

      • velocity: IAutoMovieVector3

        Velocity at the roll's start, m/s, along the surface.

    • {
          from: number;
          kind: "rest";
          position: IAutoMovieVector3;
          rotation?: IAutoMovieQuaternion;
      }
      • from: number

        Start on the original flight's launch clock, seconds; sample at or after this instant.

      • kind: "rest"

        At rest.

      • position: IAutoMovieVector3

        World rest point in metres, including authored embedding depth for a stick; not attached to a moving struck body.

      • Optionalrotation?: IAutoMovieQuaternion

        Held world attitude from contact; absent if the source flight has no attitude. The continuation does not integrate rolling rotation.