I do fine with First Person mouselook (TutorialsforBlender3d).
I want to do a 360 degree mouselook sort of like in Uncharted 2. (No, I’m not trying to make a game like Uncharted 2) I just wanted to get a super-basic prototype done.
Instead of having a camera and a box like the tutorial makes you do for first person, I named one box Camera to trick the script into making that look up and down, not the player.
Here’s where it gets weird.
If I test it without entering camera view, it works fine. The boxes move and rotate like they are supposed to.
If I enter the camera view before starting the engine, the box that is supposed to rotate left and right instead rotates up and down while the other box, the up and down box the camera is parented to will not rotate at all.
Blend is attached.
How can I fix this?
Edit: I feel like a complete idiot.
Turns out there was no problem in the first place! I had it on Wireframe, so it looked like only the one box was rotating. Of course it looked like that, the box was centered in the other! When I went shaded it was very obvious.
Please feel free to laugh at me.
testlook.blend (148 KB)