AutoMovie API
    Preparing search index...

    Interface IAutoMovieMotionPropLaunch

    A planned prop release at an action-local time in seconds, with world position in metres and world velocity in metres per second. Optional orientation and projectile attitude pass to performance flight evaluation.

    interface IAutoMovieMotionPropLaunch {
        aim?: { point: IAutoMovieVector3; seconds: number };
        attitude?: Attitude;
        point: IAutoMovieVector3;
        prop: string;
        rotation?: IAutoMovieQuaternion;
        seconds: number;
        sphere?: {
            centre: IAutoMovieVector3;
            radius: number;
            tangentialFriction?: number;
        };
        velocity: IAutoMovieVector3;
    }
    Index
    aim?: { point: IAutoMovieVector3; seconds: number }

    Aim from the displayed release to this world point over positive flight seconds, before any impact. A sphere aims its centre. Requires drag-free flight.

    attitude?: Attitude

    How it turns in flight (IAutoMovieProjectile.attitude); its launch rotation kept when absent.

    World metres at launch: where the prop's own origin is.

    prop: string

    The prop that flies: a held prop the hand lets go, or one the action sets on its way.

    The prop's rotation at launch, prop to world; its displayed rotation then when absent.

    seconds: number

    Seconds from the action's start.

    sphere?: {
        centre: IAutoMovieVector3;
        radius: number;
        tangentialFriction?: number;
    }

    Use a sphere of this radius about its prop-local centre, in metres. Its rotation stays fixed in flight.

    Type Declaration

    • Readonlycentre: IAutoMovieVector3

      The centre relative to the displayed prop origin, local metres.

    • Readonlyradius: number

      The finite positive collider radius, metres.

    • Optional ReadonlytangentialFriction?: number

      Optional nonnegative Coulomb friction for this launch's contacts. Absent, use the body data.

    World metres per second at launch, any carrier's velocity included.