Related class: VxDynamics::Hinge


The Hinge is a two-part constraint, which allows control of the parts' relative rotation around the second part's primary attachment axis (the hinge axis). The corresponding controllable angular coordinate is called "Angular". The remaining five coordinates appear in the Other Axes tab and can optionally be relaxed.

The Hinge constraint can be used to attach a gate to a gatepost, a lever to its fulcrum, or a rotating part such as a wheel to a chassis, a propeller shaft to a ship, or a turret to a chassis.

It removes five degrees of freedom between the two parts, and is therefore more computationally costly than, for example, a Ball and Socket constraint which removes three.

A positive coordinate value of the Angular coordinate corresponds to a rotation of the first part relative to the second part around the hinge axis, respecting the right-hand rule for rotations. A rotation induced by the coordinate occurs around the center of the second part attachment.

Controllable coordinate Angular yielding a rotation of the first part (P0) around the primary axis of the second part attachment (P1). Axes of i'th part attachment are indicated by the set of vectors {ui,vi,wi}.

Controllable Coordinates

Name Type Effect
Angular angular Rotation of first part around the primary axis of the second part attachment.