Assignment for RMIT Mixed Reality in 2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
1.2 KiB

  1. # Daydream *(experimental)*
  2. ## Instructions for using Daydream
  3. * Open a new or existing project in Unity that offers Daydream integration.
  4. * Download the [Google VR SDK](https://developers.google.com/vr/unity/download) from the Google developer website.
  5. * Import the `.unitypackage`.
  6. * Switch the build settings in `File > Build Settings...` to `Android`.
  7. * In `Edit > Project Settings > Player` set the following:
  8. * API Level to `Nougat`.
  9. * Bundle Identifier and other settings for use with Android.
  10. * In the `Hierarchy` window, create a new empty GameObject named `DaydreamCameraRig`.
  11. * Add the following as children of `DaydreamCameraRig`:
  12. * A new `Camera`.
  13. * The `GvrControllerPointer` prefab from `GoogleVR/Prefabs/UI`.
  14. * The `GvrControllerMain` prefab from `GoogleVR/Prefabs/Controller`.
  15. * The `GvrViewerMain` prefab from `GoogleVR/Prefabs` (enables the view in editor play mode).
  16. * Disable Daydream's native pointer tools by removing or disabling `DaydreamCameraRig/GvrControllerPointer/Laser`.
  17. * Follow the initial steps above by adding the `DaydreamCameraRig` object as a child of the SDK Setup GameObject.
  18. > Note: Daydream supports only one controller, the left scripting alias controller of VRTK will not be used.