11 Unity 4: Creating Applications That Run on the Rift

 

In this chapter we cover

  • Creating scenes that can be run on the Rift
  • Adding the Oculus Unity 4 Integration package into your project
  • Using the Oculus prefab player controller
  • Using the Oculus prefab stereo camera
  • Using player data gathered by the Oculus Calibration tool in your application
  • Building your application as a full-screen standalone application

Unity is a game development IDE and cross-platform 3D graphics engine developed by Unity Technologies. Unity is a very popular game engine and so we are sure that some of you have been reading this book thinking, "I don't want to parse the head tracker data or do the rendering for the Rift myself in C++. I'm a Unity developer. I want to know how to create Rift applications using Unity." If that sounds like we’re reading your mind, this chapter is for you.

Create a scene.

Add a character controller

Add the OVRCameraRig prefab to the character controller

Change the mouselook script for use with the Rift

Knowing which profile is being used