Tying rotation to player movement