ABSTRACT

Maintaining an application across different virtual reality systems can be difficult and time-consuming. Different systems require different strategies for implementing simple interactions such as locomotion and object manipulation. In this chapter, we describe a pattern that we have used to minimize the interactions between the interaction style (behavior) with the scene elements and the specific interaction devices. The vehicle pattern allows the programmer to ignore most of the implementation details of hardware and interaction, and focus on the scene description. They can then easily generate versions of the scene for different systems. We demonstrate the principles of the vehicle pattern with an outline implementation in Unity.