Get started with Oculus Quest
Learn how to get started using OVR Unity Framework with the Oculus Quest.
Last updated
Learn how to get started using OVR Unity Framework with the Oculus Quest.
Last updated
Go to File/ Build Settings or Ctrl+Shift+B
Select Android from the list. Then Select Switch Platform
Go to Project Settings / XR Plug-in Management
Then Select Install XR Plugin Management
After it installs select Oculus
Right click in the hierarchy and hover over XR and select Convert Main Camera To XR Rig
In the hierarchy click the little arrow (>) to the left of XRRig and then click the little arrow (>) on the Camera Offset.
In the inspector click Add Component and search for epithelium.
Add a Cube to the scene
Select the Cube in the hierarchy
In the inspector click Add Component and search for odorant box.
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.
Add OdorantConfig to OdorantBox by clicking the circle and dot to bring up the select window and select the OdorantConfig.
Select XRRig and then select the three dots next to the Transform component and select Reset Position to move the camera to the center of the world
Select Cube and then select the three dots next to the Transform component and select Reset Position to move the cube to the center of the world
Go to File/Build Settings
Adding Default Device (Make sure to have the quest pluged in and select trust this device to read files on the Quest.
Select Build and Run and give a name to your apk. With the ION turned on you should be able to smell the Odorant Config when your face is right next to the cube.