Chapter 4. Trace Interaction
VR allows developers to tap into previously inaccessible natural forms of input. A major one of these is the player’s head, and so this chapter discusses a way to use this input to interact with objects in your VR worlds.
Understanding traces is essential for nearly all VR games. In this chapter, you create a modular system for user interaction that can be easily expanded.
Understanding Trace Interaction
Trace interaction in VR is a common method of allowing the player to interact with the in-game world by detecting what object that player is looking (or, in the case of motion controllers, pointing) at.
A trace (or ray cast) has a broader definition in the context of UE4 and an even broader definition in the context ...
Get Unreal® Engine VR Cookbook: Developing Virtual Reality with UE4 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.