The rotate_entity function works great but is not the solution to my problem. When I press A or D the player rotates and walks in a circle where the camera origin is the center of the circle. How do I make it so that When pressing A or D the player rotates but doesn't walk in a circle around the camera origin. Simple to say I want the camera to turn slowly according the players pan.