Skip to content

OSVR/Unity-VR-Samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.