    /*
     * $example: Configure the integrator. Use a high drag factor to give
     * quite abrupt stops, and use high rotational acceleration.
     */

    this.integrator.integratorAngularSetDragHorizontal(0.000000001);
    this.integrator.integratorAngularSetDragVertical(0.000000001);
    this.integrator.integratorAngularSetAccelerationHorizontal(
      Math.PI / 12.0 / (double) this.integrator_time_seconds);
    this.integrator.integratorAngularSetAccelerationVertical(
      Math.PI / 12.0 / (double) this.integrator_time_seconds);
    this.integrator.integratorLinearSetAcceleration(
      3.0 / (double) this.integrator_time_seconds);
    this.integrator.integratorLinearSetMaximumSpeed(3.0);
    this.integrator.integratorLinearSetDrag(0.000000001);
  }

