Unity VR-Locomotion Continued
<p>As of what we’ve done through our Locomotion project so far, the issue we currently have is that the Ray Interactor and the Teleport Interactor are both teleporting us.</p>
<p>What we want to accomplish is to have the Teleport Interactor exclusively interact with Teleport-related objects while the Ray Interactor can interact with everything else. Good thing we have our handy dandy XR Interaction Toolkit.</p>
<p>When you’ve chosen the Teleport Interactor Object and are in the Inspector, under XR Ray Interactor, you’ll notice a section labeled “Interaction Layer Mask.” Within this section, there’s a dropdown menu that offers you the flexibility to select the specific layer you want the Teleport Interactor to interact with and also decide which layers to ignore.</p>
<p><img alt="" src="https://miro.medium.com/v2/resize:fit:415/1*MbhX14de91bl-cz_5J_-Rw.png" style="height:343px; width:415px" /></p>
<p><em>Note: You may have to create new layers to define what you want to be the Teleportation layer.</em></p>
<p>I have a Teleportation Anchor in my scene and I’ve created a Teleportation Layer. To enable the teleportation, I have to change the Interaction Layer Mask on the Teleport Anchor to the Teleport Layer.</p>
<p><a href="https://medium.com/@kennethmclachlan11/unity-vr-locomotion-continued-e4c55105512d"><strong>Click Here</strong></a></p>