I have a problem, my camera is parented to the FPS Controller prefab, then there is a script I wrote for the rotation of the player horizontally by mouse movement, it all works but the rotation is very choppy and not smooth. How can I have the camera rotating smoothly or should I not parent my camera to the FPS Controller at all and make the rotation through scripting if so then how?
here's the script of character rotation:
void Update () {
float rotationY = Input.GetAxis ("Mouse X") * 50f;
transform.Rotate (0, rotationY, 0);
}