Skip to main content

HTC Vive


Import the Vive to the Package Managerโ€‹

In the project settings add Vive to Package Manager.

vive_package_url

Install the Vive Essence Packageโ€‹

Open Window -> Package Manager and install "Vive Wave XR Plugin - Essence".

It will install the necessary dependencies

install_wave_essence

Select the main camera object and convert it to XR-Rigโ€‹

Right-click the main camera and select XR -> Convert Main Camera To XR Rig

convert_to_xr_rig

Reset the XR-rig transform and set tracking to Floorโ€‹

Reset the XR-rig transform. Place zero in the offset. And, set "Tracking Mode" to "Floor".

tracking_mode_floor

Enable Wave-XR in player settingsโ€‹

In player settings, under XR Plugin Management on the Android Tab, choose WaveXR.

choose_waveXR

Enable Natural Hand in Wave XR Settingsโ€‹

In the player setting, under WaveXRSettings, enable the "Enable Natural Hand" checkbox.

enable_hand

Add the hand manager to the sceneโ€‹

From the wave menu, select GameObject -> "Add hand manager to the scene"

choose_waveXR

Drag AR 51 prefab into the sceneโ€‹

From Assets/AR51.Unity.SDK/Prefabs drag the AR51.Unity.SDK prefab into the scene.

Select the platform and hand-providerโ€‹

In the "Service Manager" component (under the newly created ar-51 object), set the platform and Hand Provider.

Choose HTC Focus 3 (or HTC Vive if you are using a tethered headset such as the Vive-Pro).

Choose HTC_Wave under HandProvider.

choose_waveXR

choose_waveXR

Set the world pivotโ€‹

The system automatically maps the coordinate system of every quest to a common coordinate system.

This enables a shared experience where multiple players share the same world.

In order for the players to experience the same place, every object that the player can interact with needs to be mapped as well.

Create a new Game Object and add the "World Anchor Constraint" component.

Place all game objects that the player interacts with as child objects of this new object.

Build and deploy the app to the HTC deviceโ€‹

Build the project and deploy it on your devices.

Was this page helpful?