private void TankMovement() { if (MathCalculations.Distance(new Coords(this.transform.position), new Coords(fuel.transform.position)) > stoppingDist) { this.transform.position += direction * speed * Time.deltaTime; } }