In many VR environments, the physical space available to VR users is smaller than the virtual space. For this reason, navigation is often required, in the form of 'teleportation'.
Teleportation is triggered by pressing a button on the VR controllers
At runtime, teleportation can be initiated by pressing anywhere on the thumbpad on the Vive or Windows Mixed Reality controllers, or depressing the joypad on the Oculus controller.
|Vive||Windows Mixed Reality||Oculus Touch|
Immerse > Settingsand select
Teleportation. Here you can select the default navigation settings and change the as you want.
- Bake the NavMesh. See Unity documentation .
When baking the NavMesh ensure that the associated GameObject has a Collider attached to it; otherwise users will find themselves unable to teleport.
After baking is complete, the NavMesh should be visible in the Scene view.
|True if the layer mask is an ignore mask, otherwise false if it is an include mask|
|Layers to include or ignore, depending on the Ignore Layer Mask value|
|The radius to sample when the NavMesh is queried.|
Try out this component the Examples Project
Examples (menu) > Navigation > Load Teleport Example
Updated 3 months ago
|Synchronisation and Interaction|