Now takes the next point in the path when you are closer than maxSpeed (the distance you can travel in one iteration).