setMaxMotorForce method

void setMaxMotorForce(
  1. double force
)

Set the maximum motor force, usually in N.

@param force

Implementation

void setMaxMotorForce(double force) {
  _bodyA.setAwake(true);
  _bodyB.setAwake(true);
  _maxMotorForce = force;
}