enableMotor method
Enable/disable the joint motor.
Implementation
void enableMotor(bool flag) {
bodyA.setAwake(true);
bodyB.setAwake(true);
_enableMotor = flag;
}
Enable/disable the joint motor.
void enableMotor(bool flag) {
bodyA.setAwake(true);
bodyB.setAwake(true);
_enableMotor = flag;
}