O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building your First VR Experience with Unity

Video Description

Craft your first VR experience in Unity with a no-frills approach

About This Video

  • Understand why to use Unity 5.6
  • Set up for both Oculus Rift and HTC Vive
  • View VR in Android phones both using Cardboard and Daydream

In Detail

Building your First VR Experience with Unity aims to provide those who are new to developing virtual reality apps with an introduction to Unity, and the goal is guide the user through crafting their first VR application in a straightforward manner, which will then serve as a skeleton onto which future lessons will build expertise.

Whether a customer is looking to use virtual reality for game development, architectural walkthroughs, product showcases, or even more custom applications, this course is intended to provide a strong foundation in 3D modeling, C# coding, interaction design, SDK use, and general best practices for VR that will help make VR experiences you develop exciting and memorable (and crucially, not nauseating.) The examples will focus on using Unity3D, the premier virtual reality creation tool which accounts for over 80% of all VR content released today.

Downloading the example code for this course: You can download the example code files for all Packt video courses you have purchased from your account at http://www.PacktPub.com. If you purchased this course elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.

Table of Contents

  1. Chapter 1 : Getting Comfortable in Unity
    1. Course Overview 00:02:37
    2. Installing Unity 00:04:18
    3. Opening Unity and exploring its interface 00:03:55
    4. Setting up a basic scene 00:05:03
    5. The Inspector Panel and its components 00:03:12
    6. Scripting your first C# component 00:03:09
    7. The Play button 00:05:50
    8. Materials, viewport navigation, and camera adjustment 00:03:29
    9. Creating C# scripts to rotate and scale an object 00:07:34
    10. Changing the Transform values dynamically 00:05:32
  2. Chapter 2 : Building to VR for the First Time
    1. Setting up Unity to build to desktop VR 00:02:28
    2. Setting up an Oculus Rift 00:02:44
    3. Building to HTC Vive 00:05:19
    4. Preparing for mobile 00:05:57
    5. Building to Android 00:04:12
  3. Chapter 3 : Moving in VR
    1. Creating a simple movement script 00:04:20
    2. Testing our movement script in VR 00:07:16
    3. Creating obstacles 00:05:11
    4. Using OnCollisionEnter 00:06:50
    5. Applying our scripts to a new object 00:03:41
    6. Stopping and starting based on player input 00:03:32
    7. Back to gravity 00:03:06
    8. Importing 3D models 00:06:34
    9. Using a 3D model as an interior 00:05:11
    10. Writing a hand controller script 00:05:58
    11. Moving using pointing 00:06:49
    12. Installing the Google VR SDK 00:06:12
    13. Kit bashing a Google VR sample scene 00:07:18
    14. Testing on Daydream 00:03:06
    15. Testing on Cardboard 00:02:57
    16. Testing on Desktop VR 00:03:31
    17. Daydream instant preview 00:04:25
  4. Chapter 4 : Interaction in VR
    1. Triggering our existing scripts using the Event System 00:08:12
    2. Teleportation to fixed locations 00:10:54
    3. Bringing the pointer functionality to our hand 00:02:46
    4. Moving objects from a distance 00:06:01
    5. Creating a cross-platform object-grabber script 00:07:24
    6. Creating grabbable objects 00:03:48
    7. Improving our raycasting 00:06:55
    8. Bringing our interactive functionality to Android 00:11:29
  5. Chapter 5 : Making a Game
    1. Setting up a UI with a button 00:06:04
    2. Writing a script that instantiates prefabs with a button 00:09:52
    3. Keeping score 00:10:30
    4. Adding win/lose UI elements 00:13:42
    5. Adjustments for desktop VR 00:06:14
    6. Buttons and PointerExit 00:06:43
    7. Making a game - part 1 00:20:02
    8. Making a game - part 2 00:21:27