cancel
Showing results for 
Search instead for 
Did you mean: 

Is OVRInput.RecenterController() working?

Anonymous
Not applicable
Hi everyone,

I'm updating my Gear VR game to support the Gear VR controller (as well as supporting the Oculus Go Controller). When I call OVRInput.RecenterController() to force the controller to update/recenter, nothing happens (although it works when I press the Controller Recenter option on the controller itself)... am I missing something?
I work in Unity (old version though, 5.6.0f3) but I have the latest Oculus SDK scripts... could it be that my Oculus Plugin is too old?...

Thanks for your help 🙂

3 REPLIES 3

Anonymous
Not applicable
Or maybe someone can help me with the problem I have. It feels like the Gear VR controller slowly drifts and gets off-synch. So my idea was to update/recenter it every five seconds or so, and slowly adjust it's position/rotation. I noticed that problem in other Gear VR games and I wanted to offer something a little more robust in my game... well, that's as long as OVRInput.RecenterController()  properly works ... Don't hesitate to let me know if you found a way around this problem 🙂

Halfspacer
Adventurer

squidbeam said:

So my idea was to update/recenter it every five seconds or so

The recenter method assumes you're pointing the controller forward though. Without having that directional input you can't know where to recenter to. 

Anonymous
Not applicable

Tolin93 said:


squidbeam said:

So my idea was to update/recenter it every five seconds or so

The recenter method assumes you're pointing the controller forward though. Without having that directional input you can't know where to recenter to. 


You make a very good point. I was actually planning to recenter when the controller is pointed forward by the player (there are situations in the game where I can test for it and know that it will be the case). Although I haven't been able to make OVRInput.RecenterController() work so far, I think the drifting is actually not to bad - I recalibrated my phone this week end and it may have been an hardware issue all this time 🙂