ZealousAppex Posted January 10, 2019 Share Posted January 10, 2019 I create a new game object in Unity and drop the WaverVR prefab and now I can transform the object... BUT how do I move the person to the location? If they walk off of zero and I teleport them, that offset still remains from the parent object. It would be nice to have samples teleporting and using the controller in the WaveVR. Link to comment Share on other sites More sharing options...
Tony PH Lin Posted January 11, 2019 Share Posted January 11, 2019 There will be a offset value M if you assign the target (X,Y,Z) in parent object. So it's better to assign (X,Y,Z) -M to parent object. Thanks for your suggestion, and we will plan to provide a sample for teleporting. Link to comment Share on other sites More sharing options...
ZealousAppex Posted January 12, 2019 Share Posted January 12, 2019 Lets say I want them to teleport to an object, the following still gives me an offset: Teleport.position = new Vector3(transform.position.x - WaveVR.position.x, (transform.position.y + person.transform.position.y)- WaveVR.position.y, transform.position.z - WaveVR.position.z); I have boundaries off and attempted to "Recenter" as but let's say I walk to the other side of the house and call: Interop.WVR_InAppRecenter(WVR_RecenterType.WVR_RecenterType_YawOnly); it will not reset set to my current location but rather set orientation. What's the proper way to recenter current location when you have boundaries off? Kinda of like returning to your safe center? For example in the Vive home screen menu, I sometimes travel so far I can no longer get to it or see it. I have to reboot the device to return back in front of the menu from my current location. Link to comment Share on other sites More sharing options...
Tony PH Lin Posted January 15, 2019 Share Posted January 15, 2019 You can try this function call: Interop.WVR_InAppRecenter(WVR_RecenterType.WVR_RecenterType_RotationAndPosition) to re-center head position & rotation. Thanks. Link to comment Share on other sites More sharing options...
casandez@gmail.com Posted April 6, 2019 Share Posted April 6, 2019 have the problem with teleportin unreal, dont know how work, is so rare, please help! i need work like htc vive pc normal 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