AutoMovie API
    Preparing search index...

    Variable clampJointRomConst

    clampJointRom: (
        joint: IAutoMovieJointPose,
        constraint: IAutoMovieJointConstraint,
        rig?: IAutoMovieJointRotationFrame,
    ) => IAutoMovieJointPose = ...

    Project one joint into admitted axis intervals, preserving null rest and forcing specified immobile axes to zero. Specified nonfinite angles first become neutral. A swing cap blends toward the box point nearest neutral; unrestricted multi-turn overrides are outside the bisection's monotonic-segment guarantee.

    A ball joint whose constraint declares swingTwist, on a bone with axes in its frame (the caller's rig, or the humanoid tables' through swingTwistRange.of), is instead brought into its range as a rotation (swingTwistRange.project: its direction along its great circle from rest, its twist clamped) and read back in the reading the three-angle box prefers; a joint already inside comes back as given.

    Type Declaration