In the previous chapter we connected a VRTK 1D Axis Action component to the right trigger button of our touch controller. Unlike buttons, triggers communicate a continuum of data to our programs. However, many times the extra information conveyed through a range of float values is not only unnecessary for a VR application, but also unhelpful. Fortunately, VRTK offers a component to convert a trigger event from a collection of float values to a single boolean value of either on or off.
8. Interactors and Interactables
Get Virtual Reality with VRTK4: Create Immersive VR Experiences Leveraging Unity3D and Virtual Reality Toolkit 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.