code: public void setDirection(double fh, double fv)
      {
          fhLast = fh;
          fvLast = fv;
          this.fh = fh;
          this.fv = fv;
          fixForce();
      }
docs: Set directions.
  
  @param fh The horizontal direction.
  @param fv The vertical direction.