Question by 
               Rokyloreq · Jul 05, 2021 at 07:34 PM · 
                camera-movementcamera-lookfps controllercamera rotation  
              
 
              how can i make my fps camera more smooth
Hello my Fps cam just doesnt feel good and i would like to smooth it a little bit out here is my Script :
the void is running in update
     private void CameraMovement()
     {
         float x = Input.GetAxisRaw("Mouse X") * mouseSensitivity  * sensMultiplier;
         float y = Input.GetAxisRaw("Mouse Y") * mouseSensitivity  * sensMultiplier;
 
         xRotation -= y;
 
         xRotation = Mathf.Clamp(xRotation, -90f, 90f);
 
         camHolder.localRotation = Quaternion.Euler(xRotation, 0f, 0f);
 
         playerbody.Rotate(Vector3.up * x);
     }
 
              
               Comment
              
 
               
              Your answer