Skip to main content
New Participant
August 2, 2019

Reseting player position

Hello

shortly, im trying to reset my players position to the default position (which is the position where you can press the oculus button and hold and it resets you there) . I want this to work if user take off the headset. Tried many things including

  void Start()
    {
        OVRManager.HMDMounted += HandleMounted;
        OVRManager.HMDUnmounted += HandleUnMounted;
    }

    private void HandleUnMounted()
    {
        OVRManager.display.RecenterPose();
     }

But it doesnt work. I create a room scale place. So i have walk in real world which make me move in virtual world. If i press to the oculus button and hold that resets me perfectly. But i couldnt manage to make it work with headset of. I also tried giving positions manually to : Localavatarwithgrab , ovrcamerarig, tracking space.. Non worked.. 


PS: im working in unity

Thanks a lot for replies.

    2 replies

    Inspiring
    August 2, 2019
    this is explicitly disabled on quest, you need to use the oculus button long press
    yigit87Author
    New Participant
    August 5, 2019
    Do you know why? I had to bring the world to me instead....