[Solved] Help needed for camera orientation offset
Hi there,
In a project I’m working on, the player is a spectator who looks at the world below him. All works fine but after a while my neck starts to hurt from constantly looking down… :?
So I thought it would be better if I could watch a bit more straight forward but still see the same as if I was looking down.
I have practically zero programming skills but I’ve managed to rotate the cameras (30 degrees) in the OVR scripts. The result is satisfying and when I look around using the mouse, it works the way I want it to (I use the OVRPlayerController prefab). But when I start looking around by rotating my head, it goes predictably wrong. I guess it has something to do with the fact that I’m not rotating the cameras in world space or something? It would be nice if the result of rotating my head would be the same as moving the mouse. That way the perceived horizon would stay horizontal.
I’ve been trying for several days now without any luck, so I was hoping if you guys could help me out with this. Is there a relatively simple solution that a noob like me can understand or is this higher maths stuff?
Thanks in advance!
In a project I’m working on, the player is a spectator who looks at the world below him. All works fine but after a while my neck starts to hurt from constantly looking down… :?
So I thought it would be better if I could watch a bit more straight forward but still see the same as if I was looking down.
I have practically zero programming skills but I’ve managed to rotate the cameras (30 degrees) in the OVR scripts. The result is satisfying and when I look around using the mouse, it works the way I want it to (I use the OVRPlayerController prefab). But when I start looking around by rotating my head, it goes predictably wrong. I guess it has something to do with the fact that I’m not rotating the cameras in world space or something? It would be nice if the result of rotating my head would be the same as moving the mouse. That way the perceived horizon would stay horizontal.
I’ve been trying for several days now without any luck, so I was hoping if you guys could help me out with this. Is there a relatively simple solution that a noob like me can understand or is this higher maths stuff?
Thanks in advance!
