IMPORTANT:

All Oculus Quest developers MUST PASS the concept review prior to gaining publishing access to the Quest Store and additional resources. Submit a concept document for review as early in your Quest application development cycle as possible: https://developer.oculus.com/quest-pitch/

For additional information and context, please see "Submitting Your App to the Oculus Quest Store".
Welcome to the Oculus Developer Forums!

Your participation on the forum is subject to the Oculus Code of Conduct.

In general, please be respectful and kind. If you violate the Oculus Code of Conduct, your access to the developer forums may be revoked at the discretion of Oculus staff.

Callback when user resets the head pose.

We are using the standard Oculus integration in Unity 2019.1.2f1.

I am looking for a callback/event that is triggered when the HMD is reset after the user presses and holds the Oculus button on the right hand touch controller, but have not been able to find anything either in the online documentation or by looking through the available source code.

Have I missed something?

Assuming I haven't, I was going to add an event and trigger it from within this condition
if (AllowRecenter && OVRPlugin.shouldRecenter)
{
    OVRManager.display.RecenterPose();
}
which is from OVRManager.cs, line 1383. Any reason why that wouldn't work for me?

Comments

  • KurodoKurodo Posts: 8
    NerveGear
    Of course, I found the event I wanted just after posting this :D

    If anyone comes here and is interested, you are looking for OVRManager.display.RecenteredPose

Sign In or Register to comment.