MotorJointDef

constructor(bodyA: Body, bodyB: Body, linearOffset: Vec2 = Vec2.Zero, angularOffset: Float = 0.0f, maxForce: Float = 1.0f, maxTorque: Float = 1.0f, correctionFactor: Float = 0.3f, collideConnected: Boolean = false)

Parameters

bodyA

The first attached body

bodyB

The second attached body