Added code to allow the player to be rotated and head in that direction.