Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Default VR Camera not moving

Discussion in 'AR/VR (XR) Discussion' started by bakno, Sep 27, 2016.

  1. bakno

    bakno

    Joined:
    Mar 18, 2007
    Posts:
    604
    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 move 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.

    How can we move the camera? It seems that the tracking system is fixed to the regular scale space. If this is the case, how can we get access to the tracking variables?
     
  2. joejo

    joejo

    Unity Technologies

    Joined:
    May 26, 2016
    Posts:
    958
  3. bakno

    bakno

    Joined:
    Mar 18, 2007
    Posts:
    604
    Thank you Joejo

    That solved the problem.