Implemented entity rotation