Teleport mechanic for VR mode in SR works

SOLVED
Jamie
Settler

Teleport mechanic for VR mode in SR works

Before I start implementing standard teleporting.. has anyone done this already for the VR world in the SR works sdk? and if so.. any tips?

 

cheers!

reneeclchen
Settler
Solution

Re: Teleport mechanic for VR mode in SR works

Hi Jamie,

 

For the time being, there is no teleport tools in SRWorks. However, I've done teleport on top of SRWorks, it is actually quite simple to do. Here comes the tip: when the player's reference frame moves, ViveSR should move as well. For example, if you are using Unity, the simplest way is to parent [ViveSR] to the player gameobject.

 

Hope this helps. 

 

-renee

Highlighted
Jamie
Settler

Re: Teleport mechanic for VR mode in SR works

@reneeclchen thanks! worked a treat!

Other things I implemented:

Some additional script is needed to toggle the teleport on and off when traversing between realities..  

A position management script to keep track of the realworld objects and your position in and out of VR

 

really cool!