Hi,
I am using the mouse-look script that comes with unity to control a spaceship, except when the ship is upside down the control gets messed up, when i move the mouse left the ship turn right and vice versa.
Does any1 have a solution to this? I searched the forums but couldn’t find a post similar and i tried using this code
transform.Rotate(0, Input.GetAxis("Mouse X") * sensitivityY, 0);
transform.Rotate(Input.GetAxis("Mouse Y") * -sensitivityX, 0, 0);
but that also effects the roll factor, which i do not want.
Any help would be great thanks!