Skip to main content
New Participant
March 31, 2022

Detect forward orientation reset request in progress Quest 2 with Unity

Hi,

 

I am developing an App for the Quest 2 with Unity. I would like to be able to detect that the user is pressing and holding the Oculus button on the right controller to reset the forward orientation. Does anyone know how to do this?

 

I can already detect if the user has pressed the Oculus button once with OVRPlugin.hasInputFocus, but this does not detect if the button is being pressed and held. I also tried OVRManager.OnPaused etc and it also did not work.

 

Thanks

1 reply

New Participant
January 12, 2023

I am looking to do the exact same thing. I was hoping to find a sort of event like
InputDevices.GetDeviceAtXRNode(XRNode.Head).subsystem.OnRecenter

But we otherwise currently have no way of detecting an actual recenter.