Camera scale breaks Gear UI — Oculus
New to the forums? Click here to read the "How To" Guide.

Developer? Click here to go to the Developer Forums.

Camera scale breaks Gear UI

SuppleTeetSuppleTeet Posts: 25
Brain Burst
edited January 2016 in Support
Hi,

In Unity5 I'm scaling my camera rig up, as one does in VR to make the world smaller, and this scaling breaks the OVRVolumeController and the OVRGlobalMenu GUIs, they are no longer displaying properly. It would be great if they respected the scale of the camera rig, ey? I fixed it myself to submit to gear VR store a couple months ago, but now there's a mandatory update so I have to patch again.

Thanks

Comments

  • SuppleTeetSuppleTeet Posts: 25
    Brain Burst
    Also, it would be sweet if this was just included in the camera prefab, instead of separate prefabs/objects that need to be manually placed in the scene.
  • SuppleTeetSuppleTeet Posts: 25
    Brain Burst
    For anyone else that runs into this I've attached 2 modified files that support scaling of the OVRCameraRig...

    ...Assets/OVR/Moonlight/Scripts/OVRVolumeControl.cs
    ...Assets/OVR/Moonlight/Scripts/OVRPlatformMenu.cs
Sign In or Register to comment.