public void reset(){
  this.stepFrequency=Settings.DEFAULT_STEP_FREQUENCY;
  this.maximumTranslation=Settings.DEFAULT_MAXIMUM_TRANSLATION;
  this.maximumTranslationSquared=Settings.DEFAULT_MAXIMUM_TRANSLATION * Settings.DEFAULT_MAXIMUM_TRANSLATION;
  this.maximumRotation=Settings.DEFAULT_MAXIMUM_ROTATION;
  this.maximumRotationSquared=Settings.DEFAULT_MAXIMUM_ROTATION * Settings.DEFAULT_MAXIMUM_ROTATION;
  this.autoSleepingEnabled=true;
  this.sleepLinearVelocity=Settings.DEFAULT_SLEEP_LINEAR_VELOCITY;
  this.sleepLinearVelocitySquared=Settings.DEFAULT_SLEEP_LINEAR_VELOCITY * Settings.DEFAULT_SLEEP_LINEAR_VELOCITY;
  this.sleepAngularVelocity=Settings.DEFAULT_SLEEP_ANGULAR_VELOCITY;
  this.sleepAngularVelocitySquared=Settings.DEFAULT_SLEEP_ANGULAR_VELOCITY * Settings.DEFAULT_SLEEP_ANGULAR_VELOCITY;
  this.sleepTime=Settings.DEFAULT_SLEEP_TIME;
  this.velocityConstraintSolverIterations=Settings.DEFAULT_SOLVER_ITERATIONS;
  this.positionConstraintSolverIterations=Settings.DEFAULT_SOLVER_ITERATIONS;
  this.warmStartDistance=Settings.DEFAULT_WARM_START_DISTANCE;
  this.warmStartDistanceSquared=Settings.DEFAULT_WARM_START_DISTANCE * Settings.DEFAULT_WARM_START_DISTANCE;
  this.restitutionVelocity=Settings.DEFAULT_RESTITUTION_VELOCITY;
  this.restitutionVelocitySquared=Settings.DEFAULT_RESTITUTION_VELOCITY * Settings.DEFAULT_RESTITUTION_VELOCITY;
  this.linearTolerance=Settings.DEFAULT_LINEAR_TOLERANCE;
  this.linearToleranceSquared=Settings.DEFAULT_LINEAR_TOLERANCE * Settings.DEFAULT_LINEAR_TOLERANCE;
  this.maximumLinearCorrection=Settings.DEFAULT_MAXIMUM_LINEAR_CORRECTION;
  this.maximumLinearCorrectionSquared=Settings.DEFAULT_MAXIMUM_LINEAR_CORRECTION * Settings.DEFAULT_MAXIMUM_LINEAR_CORRECTION;
  this.angularTolerance=Settings.DEFAULT_ANGULAR_TOLERANCE;
  this.angularToleranceSquared=Settings.DEFAULT_ANGULAR_TOLERANCE * Settings.DEFAULT_ANGULAR_TOLERANCE;
  this.baumgarte=Settings.DEFAULT_BAUMGARTE;
  this.continuousDetectionMode=ContinuousDetectionMode.ALL;
}

public void reset ( ) { this . stepFrequency = Settings . DEFAULT_STEP_FREQUENCY ; this . maximumTranslation = Settings . DEFAULT_MAXIMUM_TRANSLATION ; this . maximumTranslationSquared = Settings . DEFAULT_MAXIMUM_TRANSLATION * Settings . DEFAULT_MAXIMUM_TRANSLATION ; this . maximumRotation = Settings . DEFAULT_MAXIMUM_ROTATION ; this . maximumRotationSquared = Settings . DEFAULT_MAXIMUM_ROTATION * Settings . DEFAULT_MAXIMUM_ROTATION ; this . autoSleepingEnabled = true ; this . sleepLinearVelocity = Settings . DEFAULT_SLEEP_LINEAR_VELOCITY ; this . sleepLinearVelocitySquared = Settings . DEFAULT_SLEEP_LINEAR_VELOCITY * Settings . DEFAULT_SLEEP_LINEAR_VELOCITY ; this . sleepAngularVelocity = Settings . DEFAULT_SLEEP_ANGULAR_VELOCITY ; this . sleepAngularVelocitySquared = Settings . DEFAULT_SLEEP_ANGULAR_VELOCITY * Settings . DEFAULT_SLEEP_ANGULAR_VELOCITY ; this . sleepTime = Settings . DEFAULT_SLEEP_TIME ; this . velocityConstraintSolverIterations = Settings . DEFAULT_SOLVER_ITERATIONS ; this . positionConstraintSolverIterations = Settings . DEFAULT_SOLVER_ITERATIONS ; this . warmStartDistance = Settings . DEFAULT_WARM_START_DISTANCE ; this . warmStartDistanceSquared = Settings . DEFAULT_WARM_START_DISTANCE * Settings . DEFAULT_WARM_START_DISTANCE ; this . restitutionVelocity = Settings . DEFAULT_RESTITUTION_VELOCITY ; this . restitutionVelocitySquared = Settings . DEFAULT_RESTITUTION_VELOCITY * Settings . DEFAULT_RESTITUTION_VELOCITY ; this . linearTolerance = Settings . DEFAULT_LINEAR_TOLERANCE ; this . linearToleranceSquared = Settings . DEFAULT_LINEAR_TOLERANCE * Settings . DEFAULT_LINEAR_TOLERANCE ; this . maximumLinearCorrection = Settings . DEFAULT_MAXIMUM_LINEAR_CORRECTION ; this . maximumLinearCorrectionSquared = Settings . DEFAULT_MAXIMUM_LINEAR_CORRECTION * Settings . DEFAULT_MAXIMUM_LINEAR_CORRECTION ; this . angularTolerance = Settings . DEFAULT_ANGULAR_TOLERANCE ; this . angularToleranceSquared = Settings . DEFAULT_ANGULAR_TOLERANCE * Settings . DEFAULT_ANGULAR_TOLERANCE ; this . baumgarte = Settings . DEFAULT_BAUMGARTE ; this . continuousDetectionMode = ContinuousDetectionMode . ALL ; }
resets the settings back to defaults .
