12-11-2016 11:39 AM
Hello!
I am trying to implement this requirement: re-orientation within Universal Menu should reorient users in the app experience
I am using an up-to-date Oculus VR SDK (OVR). I have an OVRManager script attached to an object that persists through all of my scenes.
In the OVRManager Update(), there is this short code that, from my understanding, is supposed to listen for the reorientation from the Universal Menu and apply the reorientation:
if (OVRPlugin.shouldRecenter)
OVRManager.display.RecenterPose();
However the RecenterPose function isn't running. I have also tried this code:
if (OVRPlugin.shouldRecenter)
InputTracking.Recenter();
in a separate script and it is also not called. But if I call InputTracking.Recenter() elsewhere it works as expected. So basically I think there is a disconnect between the Universal Menu and OVRPlugin.shouldRecenter. shouldRecenter is always false regardless of whether I tried to recenter, I think.
If there is anybody here who has any knowledge on what might be happening or how to work around this I would be really grateful. I have considered triggering the recenter on other inputs but it doesn't comply with Oculus' rules. Cheers.
12-12-2016 09:02 AM
12-30-2016 05:44 PM
01-02-2017 12:46 AM