newton.EqType#

class newton.EqType(value)[source]#

Bases: IntEnum

Enumeration of equality constraint types between bodies or joints.

Note

This is a temporary solution and the interface may change in the future.

CONNECT = 0#

Constrains two bodies at a point (like a ball joint).

JOINT = 2#

Constrains the position or angle of one joint to be a quartic polynomial of another joint (like a prismatic or revolute joint).

WELD = 1#

Welds two bodies together (like a fixed joint).