Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
kevakic's avatar
kevakic
Honored Guest
1 year ago

Re- Centering OVR player using button not working

I'm attempting to re-center the OVR Camera Rig using a button on a canvas in my Unity project. I'm using the Oculus Integration version 57.0.1, specifically for hand tracking without controllers. Despite trying the RecenterPose() function, it doesn't seem to have any effect on my Quest 2 headset.

I've attempted to use this function both within the OVRManager script and in a new script, but neither approach seems to work. When testing the function using Debug.Log, I can see that it's being called, but there's no observable change in re-centering the camera rig.

Here's the function I've been using:

public void RecenterPlayer(){
OVRManager.display.RecenterPose();
Debug.Log("Recentered!");
}

I've also explored alternative solutions mentioned in a forum thread, but none of them have proven successful for me: https://communityforums.atmeta.com/t5/Unity-VR-Development/How-to-recenter-camera-orientation-on-Oculus-Quest-in-Unity/td-p/744108 

Could anyone provide assistance with this issue?

1 Reply

Replies have been turned off for this discussion
  • jtriveri's avatar
    jtriveri
    Start Partner

    This function doesn't work on Quest, only Desktop 😞

    Do you need to trigger a system recenter? Can't you just reset your player's pose in-game?