AutoMovie API
    Preparing search index...
    • Prepare numerical scans for one bone's unchanged constraint and clinical frame. Every input joint must name that bone. The canonical humanoid frame remains the fallback when no rig is supplied, as in a direct scan. Creating the scorer admits no axis or angle; the first finite gated candidate admits its basis at the original composition site. Later candidates share only that basis and their pure axis factors, while all finite checks, swing/twist readings and ordered additions still run.

      Preparation is constant work. One closure owns one optional prepared frame and lazy joint composer for this synchronous operation, released with the scorer. No joint, quaternion result or target history is cached.

      The same private fault scan evaluates every candidate, with finite checks before any composition. Only the gated frame and composition factors are prepared, without duplicating interval, cone or swing-twist fault rules. Canonical fallback, ordered additions and tolerances remain unchanged. Exact unchanged bone/constraint/axes/frame inputs justify that preparation; each candidate still owns its fresh outer product and actual reading.

      A caller that read the joint's angles off a rotation, on a basis and rest frame that are the range's own (readsSwingTwistFrame), passes that rotation: a gated joint's range then reads it instead of the rotation its angles compose back to, the same rotation up to the rounding of the round trip, and composes nothing.

      Returns (joint: IAutoMovieJointPose, rotation?: IAutoMovieQuaternion) => number