simonevr3 Posted March 28, 2022 Share Posted March 28, 2022 I have seen that there is a Wave SDK way to recenter a users view via code, but it does not seem to be referenced at all under the Unity SDK documentation. Is there a way to do this in Unity? Possibly with the VIU? @chengnay @Tony PH Lin Link to comment Share on other sites More sharing options...
BabelSW Posted March 31, 2022 Share Posted March 31, 2022 About the recenter API usage, please refer to https://hub.vive.com/storage/app/doc/en-us/WVR_InAppRecenter.html?highlight=wvr_inapprecenter In Unity Wave SDK, you can call this API like below code: using Wave.Native; Interop.WVR_InAppRecenter(WVR_RecenterType.WVR_RecenterType_RotationAndPosition); // recenter rotation & position 1 Link to comment Share on other sites More sharing options...
simonevr3 Posted March 31, 2022 Author Share Posted March 31, 2022 Thank you, The docs were not very clear on how this would be used within unity and it is not mentioned in the unity sdk documentation. For anyone else reading this there are multiple options for this recentering => Rotation and position (yaw pitch and roll), position and yaw and then yaw only. Link to comment Share on other sites More sharing options...
1099 Posted September 13, 2023 Share Posted September 13, 2023 Thank you for this. Do I need to install Wave Native SDK to use this function? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now