Forum Discussion
hugoglitchers
8 years agoExplorer
Is there a way to recenter the Gear VR controller from code (Unity)
When recentering the camera in my game (loading a menu etc) the controller doesn't recenter to the new rotation. I couldn't find anything in the code to do this.
Am I missing something?
- Hi, this is now available in the 1.14 Utilities. Please refer to OVRInput.RecenterController().
5 Replies
Replies have been turned off for this discussion
- kuanghsin.liuHonored GuestWhat is UM?
- juanoldinhoHeroic ExplorerIt is the Universal Menu.
- hugoglitchersExplorerHi @imperativity
Is there any plans to add this? I cannot expect the user to recenter the controller just to use our game.
It would currently be a better user experience in this case to not recenter the headset at all as it breaks the link to the controller. I cannot rotate my world the opposite direction to mimic the effect as I have a lot of static objects with baked occlusion to hit our performance targets. - kerskMeta EmployeeHi, this is now available in the 1.14 Utilities. Please refer to OVRInput.RecenterController().
- kerskMeta Employee@hugoglitchers -- FYI, based on internal and external developer feedback, recentering the headset will likely be changing soon to also automatically "rebase" the GearVR controller's frame of reference in relation to the headset's updated pose as expected.
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
- 4 years agoAnonymous