Get started with HTC Vive

Learn how to get started using OVR Unity Framework with the HTC Vive.

Add Getting Started with Oculus Quest Samples

Go to Window/Package Manager, then search for OVR Framework

In OVR Framework, under samples Getting Started With HTC Vive select Import into Project

Add SteamVR Camera Rig

Open Assets/Samples/OVR Framework/0.2.0/Getting Started With HTC Vive in the Project window in Unity

Click and drag SteamVR Camera Rig from the Prefabs folder to under the hierarchy.

Remove the Main Camera GameObject from the Hierarchy. Select with left click and press the Delete key.

Adding Olfactory Epithelium component to the SteamVR CameraRig

In the hierarchy click the little arrow (>) to the left of CameraRig and then click the little arrow (>) on the HMD.

Select HMD in the hierarchy.

In the inspector click Add Component and search for epithelium.

Adding an Odorant Box component to a gameobject.

Add a Cube to the scene

Select the Cube in the hierarchy

In the inspector click Add Component and search for odorant box.

Create Odorant Config

Right click in the assets folder window, this will bring up a menu at the top hover over Create, this will bring up another menu at the top of this hover over OVR, then select Odorant Configuration.

Select the newly created Odorant and enter a value between 0 and 8 in the Slot field.

Last updated