Reader small image

You're reading from  Unity 2020 Virtual Reality Projects - Third Edition

Product typeBook
Published inJul 2020
Reading LevelBeginner
PublisherPackt
ISBN-139781839217333
Edition3rd Edition
Languages
Tools
Right arrow
Author (1)
Jonathan Linowes
Jonathan Linowes
author image
Jonathan Linowes

Jonathan Linowes is a VR/AR enthusiast, Unity, and full stack developer, entrepreneur, certified Unity instructor, and the owner of Parkerhill XR Studio, an immersive media, applications, and game developer. Jonathan has a bachelor of fine arts degree from Syracuse University, a master of science degree from the MIT Media Lab, and has held technical leadership positions at Autodesk and other companies. He has authored multiple books on VR and AR published by Packt Publishing.
Read more about Jonathan Linowes

Right arrow

Summary

In this chapter, we explored the relationship between the VR camera and objects in the scene. First, we made Ethan (the zombie) walk randomly around the scene and enabled him to move by using a NavMesh, but then we directed his wanderings using a 3D cursor on the X, Z ground plane. This cursor follows our gaze as we look at new locations on GroundPlane in virtual reality. Lastly, we also used our gaze to shoot a ray at Ethan, causing him to lose health and eventually explode. These look-based techniques can be used in non-VR games, but in VR, it's very common and almost essential. We'll be using them more in the later chapters of this book too.

In this chapter, you learned and used more features of Unity, all of which are very important for VR development. We used several different built-in components that control the behavior of game objects, including NavMesh and Particle Systems. We modified Materials and Textures, including painting with PolyBrush...

lock icon
The rest of the page is locked
Previous PageNext Chapter
You have been reading a chapter from
Unity 2020 Virtual Reality Projects - Third Edition
Published in: Jul 2020Publisher: PacktISBN-13: 9781839217333

Author (1)

author image
Jonathan Linowes

Jonathan Linowes is a VR/AR enthusiast, Unity, and full stack developer, entrepreneur, certified Unity instructor, and the owner of Parkerhill XR Studio, an immersive media, applications, and game developer. Jonathan has a bachelor of fine arts degree from Syracuse University, a master of science degree from the MIT Media Lab, and has held technical leadership positions at Autodesk and other companies. He has authored multiple books on VR and AR published by Packt Publishing.
Read more about Jonathan Linowes