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
| Name | Description | Type |
|---|---|---|
angular_offset | The target angular offset in radians. | float |
correction_factor | The position correction factor in [0, 1]. | float |
linear_offset | The target linear offset from body A to body B. | Vec2 |
max_force | The maximum motor force. | float |
max_torque | The maximum motor torque. | float |