Welcome to our Unity VR tutorial for Steam VR and the HTC Vive! In this set of VR tutorials, we’re going to cover setting up HTC Vive for VR development, using the HTC Vive controller, interacting with objects in VR and several other topics used for creating an HTC Vive Unity application. Each tutorial is focused on VR development fundamentals to help you learn how to make virtual reality games and applications of your own! We’ve divided it into 7 sections:

1. Introduction and Setup

In this section we’ll cover what you need for getting started and setting up Unity, Steam VR, and the HTC Vive.

2. Picking Up, Moving and Throwing Virtual Objects

In this section we’ll cover creating a basic interaction script that will teach you how to pick up, move and throw objects with your HTC Vive controllers.

3. HTC Vive Controller Interactions

In this section we’ll upgrade the basic interaction scripts from the previous section to create new types of interactions like pressing a button and triggering an action.

4. Create a VR Button, Lever and Gun!

In this section we’ll cover some examples of how to use the classes we’ve created to implement some basic interactable objects: a button, some levers, and a gun.

5. Input from the HTC Vive VR Headset and Controllers

In this section we’ll cover using Raycasting to interact with objects by “pointing” with your head and hands, rather than “grabbing” them.

6. Raycasting Examples

In this section we’ll cover some examples using our new raycast interaction scripts from the previous section.

7. Some Useful Tools

In this section we’ll cover Steam VR tools and other useful HTC Vive VR development resources that will help you make virtual reality applications.
For this tutorial we were using Unity 5.5.1f1 and Steam VR plugin for Unity – v1.1.1. Visit the GitHub page to download the project if you’d like it to follow along with. You can make your way through the tutorial without it, but it will make it easier for following along. Get started with Section One: Introduction and Setup!

We offer live classes to help you learn virtual reality programming and development in Unity. For professional virtual reality training visit the courses page.