Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
rellissc's avatar
rellissc
Honored Guest
11 years ago

Camera not appearing where you thought it should?

I am posting this in the hope that it might save some other users trouble trying to figure out what is going on if their camera is appearing way higher than it should.

I had created a cockpit model, imported it to unity, and then added a OVRCameraController as a child of the cockpit. However, when I ran the game, both in Unity and as a build, it put my cameras way high in the air, and all motions where exaggerated. Even if I moved my controller back down into the cockpit, slight side to side head movements would move it outside the cockpit again.

I couldnt find anything on any of the forums that would help with this, but after much playing around, I noticed that the scale of my imported model was set to 10... since it was a child of the cockpit, the camera controller applied that scale of 10 to its calculations for camera position.

Long story Short, make sure that your OVRCameraController doesnt have any scaling being applied to it that you may not want. (and feel free to laugh at me if its an error that should have been immediatly obvious)
Replies have been turned off for this discussion