/**
   * Notification that this sensor has just been clicked on to start a drag action.
   *
   * @param hitPoint Where the input device intersected the object sensor
   * @param position Where the sensor origin is in local coordinates
   */
  public void notifySensorDragStart(float[] hitPoint, float[] location) {

    super.notifySensorDragStart(hitPoint, location);

    dragRadius =
        (float)
            Math.sqrt(
                hitPoint[0] * hitPoint[0] + hitPoint[1] * hitPoint[1] + hitPoint[2] * hitPoint[2]);

    initialNormal[0] = hitPoint[0] / dragRadius;
    initialNormal[1] = hitPoint[1] / dragRadius;
    initialNormal[2] = hitPoint[2] / dragRadius;
  }