Jump to content

Recenter the HMD from code


Modal
 Share

Recommended Posts

Is there a way to recenter the HMD during a game?

 

For other built in Unity VR applications I'm able to use

UnityEngine.XR.InputTracking.Recenter();

 

Is there something similar for the Wave SDK?

Link to comment
Share on other sites

Yes, there is similar API in Wave SDK called WVR_TriggerRecenter. You can check the detail usage from the document (use keyword "Recenter").

However, in order to provide better UX for consumer on Focus, our design philosophy is to bypass this related API calling from app and automatically controlled from system-wise for HMD and controller.

 

Link to comment
Share on other sites

  • 6 months later...

Hi ,

 

In new update of SDK 2.1.0, there is a new API WVR_InAppRecenter for APP to make specific recenter within app. Note that the effect of re-center in app will be reset while the app is onPause.

You can find detail info. under the path:

Docs » Wave Native SDK » SDK Overview » WVR Device » WVR_InAppRecenter

 

In addition, WVR Device is the main interface to get the device state, tracking pose, user input, and battery status from the tracked devices. You should find all related info. here for reference.

Thanks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...