Vour
Asset StoreDemoDiscussions
Vour 4
Vour 4
  • Getting Started
  • Components of Vour
  • Optional Features
  • Location Types
  • Usage With WebGL
  • Add Custom VR Controller Models
  • Settings Page
  • FAQ
Powered by GitBook
On this page
  • General Steps
  • Using Meta Quest Controllers

Add Custom VR Controller Models

PreviousUsage With WebGLNextSettings Page

Last updated 20 days ago

When deploying to the web with WebXR, the correct controller models are loaded automatically, so you don't need to do anything.

General Steps

  1. Import your controller models.

  2. Open the OpenXR Player prefab (Assets/Vour/Prefabs/Players/OpenXR Player).

  3. Under Left Controller and Right Controller, delete Left Controller Visual and Right Controller Visual.

  4. Add your own controller prefabs.

Using Meta Quest Controllers

  1. Import the into your project.

  2. Use the OVRControllerPrefab prefab in Packages/Meta XR Core SDK/Prefabs. When adding the prefab to each controller, set the Controller property of the OVR Controller Helper script to L Touch for the left controller and R Touch for the right controller.

  3. The controllers need the OVRManager script at Packages/Meta XR Core SDK/Scripts to work. You can add it to the OpenXR Player.

Meta XR Core SDK
Setting the "Controller" property on the right controller prefab.
Adding the "OVRManager" script to the OpenXR Player prefab.