Skip to main content
April 10, 2017
Solved

Is there a way to recenter the Gear VR controller from code (Unity)

  • April 10, 2017
  • 5 replies
  • 2874 views
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?
This topic has been closed for replies.
Best answer by kersk
Hi, this is now available in the 1.14 Utilities. Please refer to OVRInput.RecenterController().

5 replies

New Participant
April 13, 2017
What is UM?
Participant
April 13, 2017
It is the Universal Menu.
Please tag me, @juanoldinho, in your forum post/response if you need immediate assistance or want additional support or context on an issue you are having with our software or integrations. Having an issue with our platform, services, or integrations? Try using our new bug tool to report this and receive emailed updates as we proceed to address it internally.
May 2, 2017
Hi @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.
kerskAnswer
Meta Employee
May 9, 2017
Hi, this is now available in the 1.14 Utilities. Please refer to OVRInput.RecenterController().
Meta Employee
June 7, 2017
@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.