Prototype: Guiding an object using touch controllers

Set-Up (Unity for VR)

  1. Installing latest version of unity
  2. Including android support as well as the android SDK and open JDK
  3. Setting up for VR
  4. Resource: https://www.youtube.com/watch?v=yxMzAw2Sg5w
  5. XR Manager for Oculus
  6. Install and import oculus integration from asset store
  7. Install openVR and XR Legacy input packages
  8. Change Build setting so that it is set up for android and Texture Compression is set to “ASTC.”
  9. In player settings, change the company and product name
  10. In other settings, change the minimum API level to “Lollipop” (it was suggested to use 4.4 “KitKat” but this was not available - outdated).

Now Unity is prepared for building for Virtual Reality devices.

Touch Controllers Set-Up

  1. In Assets > Oculus > VR > Pre-fabs, select OVRPlayerController and drag it into the hierarchy.
  2. Under OVRPlayerController > OVRCameraRig > TrackingSpace > LeftHandAnchor, drag in the OVRControllerPrefab from the same folder in assets.
  3. Repeat this step for the RightHandAnchor.