Forum Discussion

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

Reset view in Oculus Link (Meta Quest Link)

Hello, I have a problem in developing Oculus application with Unity.

I want to reset player position when player hold oculus home button.

I found that I can use OVRManager like below.

private void Start()

{

    OVRManager.display.RecenteredPose += ResetView;

}



private void ResetView()

{

    // Reset tracker origin

}

 

But the problem is this code doesn't work while I use oculus link to connect with unity editor.

There is a same functionality button at unity window but OVRManager.display.RecenteredPose event is not called when we use this button.

 

I read some thread saying that application cannot reset device offset but if I adjust device origin to reset view, player cannot reset view by holding oculus home button since device origin will not be at correct position.

 

If I can receive event when player press Reset view button, everything should be fine.

Thank you.