cancel
Showing results for 
Search instead for 
Did you mean: 

Detect forward orientation reset request in progress Quest 2 with Unity

Lordslimeball
Explorer

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 1

summitodience
Protege

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.