-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OculusGO Controller position after camera.resetYaw() #2031
Comments
@mpolsz Couldn't reproduce with GearVR and the latest master. Will try Oculus Go tomorrow. |
@mpolsz On Oculus Go it seems reasonable to me too. The controller points to where it pointed before in my tests, though one might expect the controller to be completely recentered (point to the center of the screen). I am probably missing something so: how is the use of resetYaw different for you then long-pressing the Oculus home button which does the same thing semantically? Attached a video of what I am seeing on Oculus Go. |
@liaxim My bad, I wrote about turning head 90 degrees and what I meant was head AND controller. On video you point controller in [0, 0, -1] direction so it does not go out of sync. I will try reproducing this bug and upload video tomorrow. |
@mpolsz Ok, got it. Will look into it. Btw isn't long-pressing the home button on the controller doing what you want? |
@liaxim I can confirm that using |
@mpolsz Thanks for pointing updateSensoredScene out. Will look into that. Why wouldn't you rely on long pressing the home button on the controller to recenter? I am unsure we can merge this change though. It is not likely easy to implement for Daydream. There is no similar API in Daydream that does what Oculus' vrapi_RecenterPose does. Daydream says this: |
In our app (Evryplace) we reset pose automatically every time user changes scene (our internal scene, not GVRf one). We do that, so after arriving in next scene user faces predefined direction independent of headset rotation.
|
In our app we use
mainScene.getMainCameraRig().resetYaw();
to recenter user view to known position. AfterresetYaw()
camera is reseted properly (user looks in [0,0,-1] direction) but Oculus Go controller is pointing in semi random direction. You can reproduce this bug in my fork. Start application, turn head 90 degrees left or right and pull trigger on controller to call.resetYaw()
. Scene will be in front of user but controller will point in wrong direction.The text was updated successfully, but these errors were encountered: