Oh c’mon guys, no one?! I mean it’s a pretty basic necessity in a 3d fps these days.
To simplify the solution even further, all it’s needed is for the camera to rotate left-right around the vehicle’s Z axis instead the global’s. Anyone smarter than me?
Maybe you forgot to switch to camera view.
Fix line 63 in MouseLook.py:
lookLeftRight.setDRot( 0.0, 0.0, leftRight, True) # for local movement
Well I’ll be… Naturally that’s the first thing I’ve tried, but I had all the logic on the camera. Looks like I accidentally solved it while making a simple example scene for the forums LoL Thanks for pointing out my own stupidity Jazz, I would have hardly notice it…
So the idea is to have a second object that does the left-right rotation… Go figure!