AutoMovie API
    Preparing search index...

    Function resolveHumanPosture

    • Resolve a posture into a canonical pose: the root from the posture's position and heading, every directly set joint clamped to the rig's range of motion, then each limb goal by the engine's two-bone fit with its bend hint, legs before arms and each limb after a limb its goal rides (orderHumanLimbs), last, so nothing moves a solved goal afterwards.

      Bones a posture neither sets nor solves stand at clinical zero, so every pose this returns lists every rig bone and reads the same on any renderer. The limb fit is fitChainToTarget, which clamps its candidates to the rig's range of motion and searches bend planes when the hinted one misses; the set joints are clamped by clampPose before it, so no returned angle exceeds the rig's declared range and the clamp never moves a plant. Two arms with goals, neither riding the other, are one coupled problem (HumanLimbPair): fitted each on its own, and solved together only where the two fits meet, so a mirrored posture resolves to the mirror of the original's bones. Digit goals are fitted after every limb, each digit reaching from the hand its arm placed (HumanDigitFit).

      The seeded companion may restrict an explicit observation to requested bone frames. Unsupported dependencies keep ordinary complete fitting. prepare records an actual cold source for checked raw translation, and translated/rigid construct its original demands at a new placement. Raw composition retains ordinary fitting; source identity alone cannot certify its current demand graph.

      Parameters

      • body: IAutoMovieMotionHumanBody

        The performer's body.

      • posture: IAutoMovieMotionHumanPosture

        The posture.

      • Optionalbase: IAutoMoviePose

        A pose whose joints replace clinical zero for unset bones, such as a transition's displayed pose; its root is ignored.

      • Optionalnear: Readonly<
            Partial<
                Record<
                    "leftLeg"
                    | "rightLeg"
                    | "leftArm"
                    | "rightArm",
                    IAutoMovieSwivelNear,
                >,
            >,
        >

      Returns IAutoMoviePose

      The canonical pose.