This eBook includes the following formats, accessible from your Account page after purchase:
EPUB The open industry format known for its reflowable content and usability on supported mobile devices.
MOBI The eBook format compatible with the Amazon Kindle and Amazon Kindle applications.
PDF The popular standard, used most often with the free Adobe® Reader® software.
This eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.
Also available in other formats.
Register your product to gain access to bonus material or receive a coupon.
“With his YouTube channel, Mitch’s VR Lab, Mitch has helped thousands of people understand the foundations of locomotion and interaction mechanics with clear and concise UE4 videos. I’m thrilled that he has taken the time to bring all his knowledge and experience in working with Unreal Engine and Virtual Reality to the Unreal® Engine VR Cookbook…. Mitch is uniquely qualified to share this book with the world.”
—Luis Cataldi, Unreal Engine Education, Epic Games, Inc.
For game developers and visualization specialists, VR is the next amazing frontier to conquer—and Unreal Engine 4 is the ideal platform to conquer it with. Unreal ® Engine VR Cookbook is your complete, authoritative guide to building stunning experiences on any Unreal Engine 4-compatible VR hardware.
Renowned VR developer and instructor Mitch McCaffrey brings together best practices, common interaction paradigms, specific guidance on implementing these paradigms in Unreal Engine, and practical guidance on choosing the right approaches for your project. McCaffrey’s tested “recipes” contain step-by-step instructions, while empowering you with concise explanations of the underlying theory and math.
Whether you’re creating first-person shooters or relaxation simulators, the techniques McCaffrey explains help you get immediate results, as you gain “big picture” knowledge and master nuances that will help you succeed with any genre or project.
If you’re ready to master VR on Unreal Engine 4, this is the practical resource you’ve been searching for!
Register your product at informit.com/register for convenient access to downloads, updates, and corrections as they become available.
About the Author xix
Part I: Getting Started 1
Chapter 1: Terminology and Best Practices 3
Best Practices 10
Chapter 2: Head Mounted Display Setup 13
Gear VR 14
Rift and Vive 32
Chapter 3: Toolkit 43
Generic Function Library 44
Oculus Function Library 45
Steam VR Function Library 47
Part II: Recipes 49
Chapter 4: Trace Interaction 51
Understanding Trace Interaction 52
Understanding Interfaces 55
Setting Up Trace Interaction 57
Setting Up a Basic Interactive Object 75
Chapter 5: Teleportation 85
Setting Up Teleportation 86
Visualizing the Teleport 92
Simple Teleportation Volume 95
Chapter 6: Unreal Motion Graphics and 2D User Interfaces 103
Challenges with 2D UI in VR 104
History and Compatibility of UMG 105
Basic VR Menu 105
Custom Menu Interaction 113
Chapter 7: Character Inverse Kinematics 125
Introduction to Inverse Kinematics 126
Setting Up Head IK 127
Setting Up Hand IK 137
Chapter 8: Motion Controller Interaction 147
Why Motion Controller Interaction Works 148
What to Look Out For: The Importance of Affordance 148
Shared Input of the Current Generation of Motion
Setting Up the World Interaction Project 149
Interacting with Objects 151
Creating the Interactive Objects 163
Chapter 9: VR Locomotion 189
Simulator Sickness 190
Locomotion Types 190
Locomotion Implementation 194
Chapter 10: VR Optimization 207
Requirements of VR Rendering 208
Latency Mitigation 209
Performance Improvements 215
VR Project Settings 221
Part III: Appendices 231
Appendix A: VR Editor 233
Enabling the VR Editor 234
Controlling the VR Editor 235
Appendix B: Resources 243
Physical Meetups 245