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?