AutoMovie API
    Preparing search index...

    Function orientChainEffector

    • Turn a fitted effector toward a requested model-frame rotation within its actual clinical domain. A distal mid bone takes its twist share first. Removing the resulting lower rotation and the fixed lower-to-effector frame leaves the articulation projected by prepareJointRotationProjection: a finite analytic candidate list for a plain box with zero, one or two mobile axes, and the existing bounded refinement for other domains.

      The fixed frame includes unchanged intermediate bones and the effector's rest rotation. Prepared callers reuse that frame and chain-only FK. Standalone callers retain full authored FK admission before deriving it; unsupported chains retain the previous direct-rest fallback.

      Parameters

      • props: IAutoMovieFitChainToTargetProps

        The fit request; without effectorRotation the pose returns unchanged.

      • fitted: IAutoMoviePose

        The fitted pose.

      • Optionalprepared: IAutoMoviePreparedChainPlant

        Preparation for the same root, ancestors, intermediate pose and merged clinical mappings; only chain articulations may differ.

      • Optionalrig: IAutoMoviePrepareChainFit.IRig

        Optional lazy rig of the same source workspace; basis, clamps, local projection and fixed inverse remain valid only under unchanged rig/frame dependencies.

      • Optionalcapture: orientChainEffector.IReading

        Immediate reader of the final projected rotation and optional position, when the native rig admitted the lower prefix.

      Returns IAutoMoviePose

      The pose with the effector oriented inside its rig's limits.