Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
bakno's avatar
bakno
Explorer
10 years ago

Unity - Default VR Camera not moving

In Unity 5.4 the default camera converts into a stereoscopic camera when Virtual Reality is supported.

According to the last paragraph on this Unity manual:  https://docs.unity3d.com/Manual/VRDevices-Oculus.html)

The Oculus package (scripts, plugins, prefabs) is not necessary. And the OVR Camera Rig has to be replaced with a regular camera.

We did this and it works, but in our case we have a scaled up scene for which we used to have a scaled up OVR Camera Rig, and additionally, we slightly moved the camera around the scene via script. But now the camera is not moving. On the Unity editor it moves but when running the VR build it does not.

So our questions are:  Does Oculus recommend this Unity default camera support, or shall we install the package and use the OVR Camera Rig instead. In the first case, how should we fix the camera movement problem? It seems that the tracking system is fixed to the regular scale space. 

Please help
Andres

2 Replies

Replies have been turned off for this discussion
  • Fixed. Just need to place the camera inside a parent object and move that object.
  • I'm moving this to the Unity section of the Developer forum. You can switch forums with the drop down menu on the top right. To answer your question, the standard Unity camera becomes completely controlled by the head-tracking once you enable VR. If you wish to reposition the camera you'll need to make it a child of another object, as you have found. Thanks.