Private
constructorStatic
fixedPoint where the joint is attached on the first rigid-body affected by this joint. Expressed in the local-space of the rigid-body.
The reference orientation of the joint wrt. the first rigid-body.
Point where the joint is attached on the second rigid-body affected by this joint. Expressed in the local-space of the rigid-body.
The reference orientation of the joint wrt. the second rigid-body.
Static
genericCreate a new joint descriptor that builds generic joints.
A generic joint allows customizing its degrees of freedom by supplying a mask of the joint axes that should remain locked.
Point where the joint is attached on the first rigid-body affected by this joint. Expressed in the local-space of the rigid-body.
Point where the joint is attached on the second rigid-body affected by this joint. Expressed in the local-space of the rigid-body.
The X axis of the joint, expressed in the local-space of the rigid-bodies it is attached to.
Mask representing the locked axes of the joint. You can use logical OR to select these from the JointAxesMask enum. For example, passing (JointAxesMask.AngX || JointAxesMask.AngY) will create a joint locked in the X and Y rotational axes.
Static
prismaticCreates a new joint descriptor that builds a Prismatic joint.
A prismatic joint removes all the degrees of freedom between the affected bodies, except for the translation along one axis.
Point where the joint is attached on the first rigid-body affected by this joint. Expressed in the local-space of the rigid-body.
Point where the joint is attached on the second rigid-body affected by this joint. Expressed in the local-space of the rigid-body.
Axis of the joint, expressed in the local-space of the rigid-bodies it is attached to.
Static
revoluteCreate a new joint descriptor that builds Revolute joints.
A revolute joint removes all degrees of freedom between the affected bodies except for the rotation along one axis.
Point where the joint is attached on the first rigid-body affected by this joint. Expressed in the local-space of the rigid-body.
Point where the joint is attached on the second rigid-body affected by this joint. Expressed in the local-space of the rigid-body.
Axis of the joint, expressed in the local-space of the rigid-bodies it is attached to.
Static
ropeStatic
sphericalCreate a new joint descriptor that builds spherical joints.
A spherical joint allows three relative rotational degrees of freedom by preventing any relative translation between the anchors of the two attached rigid-bodies.
Static
springGenerated using TypeDoc
Creates a new joint descriptor that builds a Fixed joint.
A fixed joint removes all the degrees of freedom between the affected bodies, ensuring their anchor and local frames coincide in world-space.