AutoMovie API
    Preparing search index...

    Interface IAutoMovieHingedChainGeometry

    A hinged chain toward a target.

    interface IAutoMovieHingedChainGeometry {
        endOffset: IAutoMovieVector3;
        hinge: IAutoMovieVector3;
        midOffset: IAutoMovieVector3;
        midRest: IAutoMovieQuaternion;
        range?: { max: number; min: number };
        target: IAutoMovieVector3;
        upper: IAutoMovieChainBone;
    }
    Index

    Effector's rest offset from the mid joint, in the mid bone's frame.

    The mid joint's flexion axis in the mid bone's frame; any length.

    Mid bone's rest offset from the chain root, in the root's bone frame.

    Mid bone's rest rotation relative to the chain root.

    range?: { max: number; min: number }

    The mid joint's legal rotation about hinge, radians, min <= max and no wider than a full turn; every hinge angle is legal when absent.

    Type Declaration

    • max: number

      Upper rig rotation about hinge, radians; caller ensures min <= max <= min + 2*pi.

    • min: number

      Lower rig rotation about hinge, radians.

    World target the effector should land on.

    Chain-root bone (the shoulder or the hip) resolved under the rig's rest FK.