Search code examples
unity-game-engineoculusvirtual-reality

Changing Camera (Oculus Rift) Position in Unity 5


With the Unity 5.1 and Oculus SDK 0.6 and the new built-in Virtual Reality Supported check-box, I cannot seem to change the camera's position in VR.

Of course I can change the camera's Tranform Position component numbers (i.e. x and y and z) but when I run in play mode, it becomes obvious that Oculus' seeing camera has not moved.

How do I move/change the Oculus' perspective, to adjust how the Unity world is seen through the 2 lenses?


Solution

  • Add a parent GameObject to the camera and move that one, don't modify the VR camera.