AutoMovie API
    Preparing search index...

    Interface IAutoMovieGait

    A reusable locomotion cycle expressed as timed joint oscillations. gaitMotion samples each limb's phase, duty, amplitude and easing into one looping motion; optional rootBob supplies sampled vertical body displacement. Profiles collect named gaits, and binding assigns the target skeleton id without deriving rig-specific joint angles.

    interface IAutoMovieGait {
        limbs: IAutoMovieGaitLimb[];
        name: string;
        period: number;
        rootBob?: IAutoMovieGaitRootBob;
    }
    Index

    Each limb's contribution to the cycle.

    name: string

    Stable name ("walk", "trot", "gallop", "stalk").

    period: number

    Finite positive stride period, one full cycle in seconds.

    Optional vertical root bob for the body mass during the cycle. At each bake sample, the gait synthesiser emits a root transform whose translation.y evaluates center + amplitude * sin(2 * PI * (t / period + phase)) with wrapped cycle phase. Playback linearly interpolates the baked root samples rather than reevaluating the sinusoid. Omit it for a gait that should leave root placement entirely to travelMotion / staging.