Hinge Constraint

This Constraint is used to simulate a hinge joint between two rigid bodies, allowing them to rotate around a single axis.

Example

This example shows a Hinge Constraint with two simple geometry meshes. The hinge is located at 0, 0, 1 on the first object, and 0, 0, -1 on the second, allowing for a realistic hinge animation.

Hinge Constraint

See Mattercraft's full API documentation here.

Next article: Ball and Socket Constraint

zapcode branded_zapcode i