Book Image

Enhancing Virtual Reality Experiences with Unity 2022

By : Steven Antonio Christian
Book Image

Enhancing Virtual Reality Experiences with Unity 2022

By: Steven Antonio Christian

Overview of this book

Virtual reality (VR) has emerged as one of the most transformative mediums of the 21st century, finding applications in various industries, including gaming, entertainment, and education. Enhancing Virtual Reality Experiences with Unity 2022 takes you into the fascinating realm of VR, where creativity meets cutting-edge technology to bring tangible real-world applications to life. This immersive exploration not only equips you with the essential skills needed to craft captivating VR environments using Unity's powerful game engine but also offers a deeper understanding of the philosophy behind creating truly immersive experiences. Throughout the book, you’ll work with practical VR scene creation, interactive design, spatial audio, and C# programming and prepare to apply these skills to real-world projects spanning art galleries, interactive playgrounds, and beyond. To ensure your VR creations reach their full potential, the book also includes valuable tips on optimization, guaranteeing maximum immersion and impact for your VR adventures. By the end of this book, you’ll have a solid understanding of VR’s versatility and how you can leverage the Unity game engine to create groundbreaking projects.
Table of Contents (25 chapters)
1
Part 1: Philosophy and Basics of Understanding Virtual Reality
3
Part 2: Technical Skills for Building VR Experiences in Unity (Assets, GameObjects, Scripts, and Components)
12
Part 3: Projects: Putting Skills Together
21
Part 4: Final Touches

Setting up animated characters

Now that we have our 3D character FBX models in our Unity project, as well as the .fbx animation files from Mixamo, we can set them up using a humanoid character rig that is predefined in Unity and apply the animation files to the models in our scenes.

To set up the 3D characters to be used in our scenes, follow these steps:

  1. Go to our 3D characters folder in the Project tab.
  2. Choose the James 3D model.
  3. In Inspector, go to the Rig tab (Figure 13.8).
  4. Set the Animation Type dropdown menu to Humanoid.
  5. Set the Avatar Definition dropdown menu to Create From This Model.
  6. Click Apply to set up the rig 3D model with the humanoid animation system that Unity has.
  7. Repeat steps 2–6 for the Michelle model, the Sporty Granny model, the X Bot model, and the Y Bot model.
Figure 13.8 – 3D model character rigging setup

Figure 13.8 – 3D model character rigging setup

Now that we have all of our models completed, you may notice that the models...