AutoMovie API
    Preparing search index...

    Sample admitted motion on a fixed clock, detect finite model-frame stance contacts, pin each run and fit targeted leg chains under the same clinical mappings and rig ROM. Unreachable/constrained pins retain the best allowed pose and may leave residual; the result does not guarantee exact no-skate contact. Opening plants resume authoritative targets only for opening stance.

    type IProps = {
        groundY?: number | ((x: number, z: number) => number);
        jointAxes?: Partial<Record<AutoMovieHumanoidBone, IAutoMovieJointAxes>>;
        legs?: readonly IAutoMovieFootLeg[];
        motion: IAutoMovieMotion;
        openingPlants?: ReadonlyArray<
            Pick<IAutoMovieFootPlant, "foot" | "position">,
        >;
        restFrames?: Partial<Record<AutoMovieHumanoidBone, IAutoMovieRestFrame>>;
        sampleRate?: number;
        skeleton: IAutoMovieSkeleton;
        support?: IAutoMovieTimedGround;
        tolerance?: number;
    }

    Hierarchy (View Summary)

    Index
    groundY?: number | ((x: number, z: number) => number)

    Ground height: plane scalar or (x, z) → y source. Defaults to 0 when support is omitted.

    jointAxes?: Partial<Record<AutoMovieHumanoidBone, IAutoMovieJointAxes>>

    Optional clinical-axis remap used consistently by detection and IK.

    legs?: readonly IAutoMovieFootLeg[]

    Legs to plant. Defaults to both humanoid legs.

    The humanoid gait/motion to correct.

    openingPlants?: ReadonlyArray<Pick<IAutoMovieFootPlant, "foot" | "position">>

    Prior beat plants expressed in this motion's model frame.

    When a detected stance begins at the opening sample, its first pin resumes this authoritative position instead of deriving a nearby replacement.

    restFrames?: Partial<Record<AutoMovieHumanoidBone, IAutoMovieRestFrame>>

    Optional clinical rest frames used consistently by detection and IK.

    sampleRate?: number

    Samples/second for detection and re-keying. Defaults to 24.

    Rig for forward kinematics.

    Explicit time-dependent ground. Takes precedence over the scalar or positional query.

    tolerance?: number

    Contact tolerance above the plane counted as stance. Defaults to 0.02.