tweaked flying carpet distancepertick value and anglechange function to make smoother experience