MotorJoint constructor
MotorJoint(
- MotorJointDef<
Body, Body> def
Implementation
MotorJoint(MotorJointDef def) : super(def) {
_linearOffset.setFrom(def.linearOffset);
_angularOffset = def.angularOffset;
_angularImpulse = 0.0;
_maxForce = def.maxForce;
_maxTorque = def.maxTorque;
_correctionFactor = def.correctionFactor;
}