Skip to main content
Inspiring
September 14, 2016

How to reorient through univeral menu in Unity game

The Rift version of Starfighter Arduxim failed its review with the following feedback:

The universal menu integration in your functioning as expected. The intended behaviors include:
1) pressing Oculus Home button should bring up Universal Menu,
2) pressing the Oculus Home button again should return to the app experience,
3) re-orientation within Universal Menu should reorient users in the app experience and
4) exit to home should bring up a prompt that warns user that he/she is exiting the experience.
Fails to reorient

I think the last line is the reviewer's comment and the rest is the test they were performing. The game is written in Unity, how do I implement the reorientation as I assumed it would be handled by the Oculus Utilities or runtime.

5 replies

Inspiring
September 14, 2016
It should be handled as long as there is an ovrmanager in the scene. I can give you more specifics in a little bit, can't check my code right now.
FulbyAuthor
Inspiring
September 14, 2016
Thanks I'll check that tonight.
Inspiring
September 14, 2016
In OVRManager's update function, there should be a code:

if (OVRPlugin.shouldRecenter)
   OVRManager.display.RecenterPose();
 

That should take care of everything for you.
FulbyAuthor
Inspiring
September 16, 2016
The Rift version has now passed this test - thanks for the help @delphinius81.
Inspiring
September 16, 2016
Glad you got it working!