AutoMovie API
    Preparing search index...

    Planner input; a way set from outside (travel) is handed to the timing as it is.

    interface IInput {
        body: IAutoMovieMotionHumanBody;
        entry: IAutoMovieMotionHumanEntryState;
        face?: number;
        facing?: IAutoMovieMotionHumanWalkFacing.IFacing;
        gait?: Pick<IAutoMovieMotionHumanWalkGait, "bob" | "heels" | "stiff">;
        longest: number;
        speed: number;
        swing?: number;
        to: IAutoMovieVector3;
        travel?: (seconds: number) => number;
        via?: readonly IAutoMovieVector3[];
        period(seconds: number): number;
    }

    Hierarchy

    Index

    The body.

    entry

    The state the walk starts from.

    face?: number

    The heading at arrival, degrees; the last leg's direction when absent.

    Which way the body faces while it walks; along the path when absent.

    gait?: Pick<IAutoMovieMotionHumanWalkGait, "bob" | "heels" | "stiff">

    What the plan reads of the gait beyond its timing: its vertical oscillation in hip heights (the mean drop and the amplitude, lowest at mid-stance; a walk's when absent) and how far it holds the heels off the floor, degrees (flat when absent).

    longest: number

    The longest step, metres.

    speed: number

    Walking speed, m/s.

    swing?: number

    Swing duration in step periods; 0.8 (a walk's 40 % of the stride) when absent, above 1 for a run's flight.

    The destination floor point, world metres.

    travel?: (seconds: number) => number

    The share of the way the pelvis has gone at a second of the walk, from 0, never falling and reaching 1, when the way is set from outside (a cadenced station, walkStation.cadenced); the pelvis ramps, cruises and ramps by itself when absent.

    via?: readonly IAutoMovieVector3[]

    Floor points passed in order before the destination, world metres.