Bummer! This is just a preview. You need to be signed in with a Basic account to view the entire video.
Oculus Rift Setup2:29 with Nick Pettit
In this video, we'll learn how to setup the Oculus Rift in Unity.
- Oculus Rift Setup - If you haven't already set up your Oculus Rift, start here.
- VR in Unity - Project Files - This is a zip file that contains the Unity project for this course. Download the file, unzip it, and then in your file browser (Finder on OS X and Explorer on Windows) navigate to Assets > _Scenes. Finally, choose the scene you'd like to open.
Setting up the Oculus Rift in Unity is a quick process.
Let's get started.
First, I'll assume that you've already run the set up process for
your Oculus Rift, and you've installed Oculus Home.
If you haven't done this yet, check the notes associated with this video for
a link to the Oculus website, so that you can start there.
Inside Oculus Home, you'll need to allow for
software outside the Oculus store to be able to run on the Rift headset,
software like Unity and the games you create.
Click the gear icon in the upper right corner, and then choose Settings.
Then from the menu on the left, choose General.
And finally, at the top, enable Unknown Sources,
And click Allow.
This will allow you to use your Rift while you build your game in Unity, and
then run your game after you've exported a build from Unity.
Next, leave Oculus Home open,
you'll need to keep Oculus Home running any time you want to use your Rift.
Then, back in Unity, click the Edit
menu > Project Settings > Player.
And next on the right side in the Inspector,
click the checkbox that says Virtual Reality Supported, under Other Settings.
Finally, click the plus button on
the Virtual Reality SDKs list and choose Oculus.
Now run the game and put on the headset.
You may need to first accept any kind of safety warnings from Oculus.
And once you've done that, you should be able to see your application.
And you may need to hit the R key to reset the orientation, so
that the virtual camera matches where you're looking in real life.
And then after that, you should be able to look around the basketball court.
When you're done, stop the game.
Now that we have the basics working, we can move forward in this project.
You need to sign up for Treehouse in order to download course files.Sign up