newton.JointType#

class newton.JointType(value)[source]#

Bases: IntEnum

Enumeration of joint types supported in Newton.

BALL = 2#

allows rotation about all three axes (3 DoF, quaternion parameterization).

Type:

Ball joint

D6 = 6#

Generic joint with up to 3 translational and 3 rotational degrees of freedom.

Type:

6-DoF joint

DISTANCE = 5#

keeps two bodies at a distance within its joint limits (6 DoF, 7 coordinates).

Type:

Distance joint

FIXED = 3#

locks all relative motion (0 DoF).

Type:

Fixed joint

FREE = 4#

allows full 6-DoF motion (translation and rotation, 7 coordinates).

Type:

Free joint

PRISMATIC = 0#

allows translation along a single axis (1 DoF).

Type:

Prismatic joint

REVOLUTE = 1#

allows rotation about a single axis (1 DoF).

Type:

Revolute joint