1st Person Character Controller

I am fairly new to unity, this is my 1st game. I am developing a 1st person type game. I am using a character controller and it is moving fine, except when I turn. The character is turning but moveDirection is not. I have been looking for how to make the character controller turn but I keep finding 3rd person character controllers and the code that is being used confuses me. Can anyone help me, point me in the right direction? I’m sorry if I’m asking a stupid question that has already been answered. I am using the w,a,s,d keys to move forward, backward, left, and right and I am using the mouse to turn and look up and down. I’m using transform.Rotate to rotate the character about the y-axis and Input.GetAxis(“Mouse X”) to get the input. When I started I wasn’t using a character controller but now I need one.

Can you not use the default First Person Character Controller made by Unity under the Favorites/All Prefabs? That should work for your purposes.