AutoMovie API
    Preparing search index...
    • How far a seated rider leans the trunk forward to reach what the hands hold: the least flexion of the spine, up to LEAN, that brings each shoulder within ARM of its arm's length of its point, as a cyclist leans to the bar and a fixed-seat rower to the catch.

      Flexing the spine turns everything above it rigidly about the spine joint's flexion axis, a line fixed in the world while the other angles hold (jointToQuaternion applies flexion innermost), so each shoulder runs on a circle: s(θ) = a + b cos θ + c sin θ, with b and c of one length and at right angles. The three vectors are read once, from the shoulder at three flexions by forward kinematics. A point's squared distance from the shoulder is then K + B cos θ + C sin θ, and the least flexion bringing it within the arm's reach is a closed-form arccos root, so a reach that follows a moving grip costs no forward kinematics per instant.

      Parameters

      Returns (points: Partial<Record<AutoMovieHumanSide, IAutoMovieVector3>>) => number

      For the hand goals in the seated frame, the rotation nearest the entered posture that reaches both, or the least worst excess reach when the arcs do not overlap.