Forum Discussion
jguinea
8 years agoExplorer
Gear VR Controller - OVRInput.RecenterController() doesn´t work
Hi!
I have this problem; I use Unity to develop and I need to be able to center the Gear VR Controller controller through code. I know that it is possible to center it by pressing the home button for a long time but I need to be able to do through code because in my project I dont want the users use that button. When I call this function, nothing happens. Does anyone the reason? or some other way to do it?
thanks!
3 Replies
Replies have been turned off for this discussion
- haseebkuatoHonored GuestBump! Did you ever solve this issue?
- dimi_christopExplorerAny workaround its not doing anything
- PAaltoExpert ProtegeI have not had any issues using code like this to recenter both the display and the controller:
InputTracking.Recenter();
OVRInput.RecenterController();You do have OVRManager somewhere in your scene, correct? I assume that is required for the recentering to work (along with various other things).
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
- 2 years ago