The attached file is a modified version of Raider’s mouselook script. It appears that most mouselook scripts suffer from the same disease. If your mouse cursor is not in the center of the game window, the camera will “jump” when you start the game, knocking your view off center. Raider was thoughtful enough to put in a line (line 44) that keeps the camera from jumping on the first frame no matter where your mouse is, but that only works if your mouse is moving during the first frame.
I am relatively certain that I remember seeing a mouselook script a long time ago whose author claimed that the camera jumping symptom had been eliminated, but I have not been able to find it.
Any help would be appreciated!
mouselook.blend (181 KB)