Book Image

Complete Virtual Reality and Augmented Reality Development with Unity

By : Jesse Glover, Jonathan Linowes
Book Image

Complete Virtual Reality and Augmented Reality Development with Unity

By: Jesse Glover, Jonathan Linowes

Overview of this book

Unity is the leading platform to develop mixed reality experiences because it provides a great pipeline for working with 3D assets. Using a practical and project-based approach, this Learning Path educates you about the specifics of AR and VR development using Unity 2018 and Unity 3D. You’ll learn to integrate, animate, and overlay 3D objects on your camera feed, before moving on to implement sensor-based AR applications. You’ll explore various concepts by creating an AR application using Vuforia for both macOS and Windows for Android and iOS devices. Next, you’ll learn how to develop VR applications that can be experienced with devices, such as Oculus and Vive. You’ll also explore various tools for VR development: gaze-based versus hand controller input, world space UI canvases, locomotion and teleportation, timeline animation, and multiplayer networking. You’ll learn the Unity 3D game engine via the interactive Unity Editor and C# programming. By the end of this Learning Path, you’ll be fully equipped to develop rich, interactive mixed reality experiences using Unity. This Learning Path includes content from the following Packt products: • Unity Virtual Reality Projects - Second Edition by Jonathan Linowes • Unity 2018 Augmented Reality Projects by Jesse Glover
Table of Contents (24 chapters)
Title Page
Copyright
About Packt
Contributors
Preface
Index

Really using your hands


The last couple of things we'll explore in the chapter involve getting your hands even more into virtual reality. In addition to buttons and touch pads, VR hand controllers can be tracked in 3D space along with your head. PC- and console-based VR, such as Rift, Vive, MR, and PSVR, are really very good at this, with full positionally tracked hand controllers for both left and right hands. Lower-end mobile VR, such as Daydream, has a single hand controller with limited tracking, but better than nothing.

To start, we'll take advantage of positional tracking by simply parenting the balloon to your hand model. On VR, without actual positional tracking, like Daydream, the location of your hand controller is approximated by the SDK software, but useful enough.

Parenting balloons to your hand

Suppose when you press the button, rather than creating the new balloon at a fixed position in space, it spawns and grows from your hand position. One way to accomplish this is to make...