Working rotateTo, getDist