/Unity-VR-Samples

Primary LanguageC#Apache License 2.0Apache-2.0

Unity-VR-Samples

This project demonstrates OSVR integration with the Unity VR Samples project available on the Unity Asset Store as of the Unity 5.3 release.

To convert the scenes to be OSVR compatible, the following steps were taken:

  1. Uncheck "Virtual Reality Supported" in Player Settings -- Unity only supports Oculus with this feature at this time.

  2. Add a ClientKit and DisplayController to the scene.

  3. Add a VRViewer component to MainCamera.

  4. Replace instances of InputTracking.GetLocalRotation with the rotation of the MainCamera.