Tutorial: Revolute Joint

Revolute Joint

revolute_joint

Revolute joint keeps the origins and x-axes of the frames together, and allows free rotation around this common axis.

Dependencies

  • joint

Attributes

Attribute Type Default Description
axis vec3 [ 1, 0, 0 ] The direction of the axis around which the constrainee swings. The direction is defined in the constrainee's local space.
anchor vec3 [ 0, 0, 0 ] The position of the axis around which the constrainee swings. The position is defined in the constrainee's local space.