Search Unity

SOLVED: OVRCameraRig position

Discussion in 'Android' started by garrilla, Jul 30, 2019.

  1. garrilla

    garrilla

    Joined:
    Jan 12, 2016
    Posts:
    28
    TL: DR the solution was to use the CenterEyeAnchor



    I'm trying to port a unity app that works in Windows Standalone to Oculus Quest.

    I have some objects on the Main Camera, which is used for `InverseTransformPoint` and `Distance` operations. They are slightly offset from the camera.

    However, when I use the OVRCameraRig from Oculus Integration, the objects are always at their offset because the camera seems to be at 0.0.0 even when the camera is moving about the scene.

    How can I get a real position for my objects?
     
    Last edited: Jul 31, 2019