Forum Discussion
Lordslimeball
4 years agoExplorer
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
- summitodienceProtege
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.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 6 months ago
- 5 months ago
- 10 months ago
- 9 months ago
- 4 years ago