Input rotation function help

Thank you for letting me know about how they work it works better now but only when i rotate the camera to the left is there any reason for this

You shouldn’t be manipulating the basis. Just directly use camera’s global basis.