setMotor method

void setMotor(
  1. IMotorEnabledJoint joint,
  2. num speed, [
  3. num maxForce,
  4. num motorIndex,
])

Implementation

external void setMotor(IMotorEnabledJoint joint, num speed, [num maxForce, num motorIndex]);