input the rotation and distance data into player movement