MotorJoint

API reference for MotorJoint. Access via the 'physics' submodule.

Experimental API:

The physics submodule is a VERY experimental and new API that is highly susceptible to breaking changes in the future.

Inherits from Joint.

Properties


NameDescriptionType
angular_offsetThe target angular offset in radians.float
correction_factorThe position correction factor in [0, 1].float
linear_offsetThe target linear offset from body A to body B.Vec2
max_forceThe maximum motor force.float
max_torqueThe maximum motor torque.float