Triggering Actions in Virtual Reality
We’ve ventured far and wide in the VR realm, from creating immersive environments to animating lifelike movements, and from mastering C# coding to understanding the Unity input system. Now, we’re ready to apply all these skills to design dynamic, interactive experiences in the VR world. In this chapter, we’ll focus on constructing a VR rig menu system to control various settings, using triggers to command animations, employing portals for seamless travel between the diverse scenes we’ve crafted, and harnessing the power of the physics system to create lively bouncing balls such as basketballs.
We will start by creating a VR settings menu that can control the different values we added for our VR rig abilities, including running, jumping, and crouching from Chapter 15. We will then move on to triggering our animations from the Adding animation clips to our timeline section of Chapter 13, enabling the animated experience...