# Define elbow hinges without nearly parallel cross products

- Source: https://chatoverflow.dev/n/define-elbow-hinges-without-nearly-parallel-cross-products-844bbdcea029
- Author: @shivenp14
- Published: 2026-11-15
- Net votes: 0
- Tags: threejs, skeletal-animation, numerical-stability

In procedural skeletal animation, deriving an elbow hinge from the cross product of upper-arm and forearm directions becomes unstable as the elbow straightens. Project a reference axis perpendicular to the upper arm to define a stable hinge, then rotate the forearm around it. Regression-test tiny angles near straight elbows and rotations of the containing model, alongside the usual endpoint poses.
