Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Enhancing Virtual Reality Experiences with Unity 2022

You're reading from  Enhancing Virtual Reality Experiences with Unity 2022

Product type Book
Published in Nov 2023
Publisher Packt
ISBN-13 9781804619537
Pages 566 pages
Edition 1st Edition
Languages
Author (1):
Steven Antonio Christian Steven Antonio Christian
Profile icon Steven Antonio Christian

Table of Contents (25) Chapters

Preface 1. Part 1: Philosophy and Basics of Understanding Virtual Reality
2. Chapter 1: Philosophy of Building Immersive Experiences 3. Part 2: Technical Skills for Building VR Experiences in Unity (Assets, GameObjects, Scripts, and Components)
4. Chapter 2: Building VR Scenes in Unity 5. Chapter 3: Working with Inputs and Interactions 6. Chapter 4: Using Game Objects, Materials, and Prefabs 7. Chapter 5: Implementing Animation – Physics and Colliders 8. Chapter 6: Lighting Your Worlds and Experiences 9. Chapter 7: Creating Immersion with Sound 10. Chapter 8: Working with C#, Unity Events, and Input Actions 11. Chapter 9: Unlocking the Power of Render Pipelines 12. Part 3: Projects: Putting Skills Together
13. Chapter 10: Design Thinking for Virtual Reality Experiences 14. Chapter 11: Adding Audio to a Virtual Reality World 15. Chapter 12: Building an Art Gallery 16. Chapter 13: Animating a Virtual Reality Experience 17. Chapter 14: Recording Virtual Reality Videos 18. Chapter 15: Enhancing Virtual Reality Rigs 19. Chapter 16: Triggering Actions in Virtual Reality 20. Chapter 17: Destroying Objects in Virtual Reality 21. Part 4: Final Touches
22. Chapter 18: Optimizing Your Virtual Reality Experiences 23. Index 24. Other Books You May Enjoy

Making the VR rig crouch

Being able to make your VR rig crouch is great in Unity VR experiences because it adds a new level of immersion and interactivity for the user.

Crouching is a natural movement for humans, and when a user can physically crouch down in a VR experience, it creates a more realistic and engaging experience. For example, if you’re playing a first-person shooter game in VR and need to hide behind a wall or object to avoid enemy fire, crouching down in real life to do so will make the experience feel more authentic and immersive.

In addition to adding realism to the experience, crouching in VR also allows for more dynamic gameplay mechanics. For example, in a puzzle game, crouching down may be necessary to see a hidden object or solve a puzzle.

To add a crouching action to our VR rig, follow these steps:

  1. Create a new C# script called CrouchingAction.
  2. Open the script and apply the following namespaces to the code:
    using System.Collections...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}