...

/

Interaction SDKs for VR Development

Interaction SDKs for VR Development

Explore VR interaction and SDKs, focusing on the XR Interaction Toolkit’s pros and cons, which will be employed in the lightsaber game project ahead.

Now that you’ve learnt a great deal about fundamental concepts in Unity, it’s time to apply those skills in a practical VR project. In this project, we’ll build a basic lightsaber game inspired by Beat Saber. We’ll create the game step by step, learning some exciting VR concepts in Unity as we go.

Chapter goals

This chapter aims to explain the VR concepts through the development of a reward-based VR game. This section will be hands-on, and you’ll also be making the game side by side. Follow along and implement the concepts on your Unity Editor.

We’ll start with the selection of the interaction toolkit (the XR Interaction Toolkit, in our case). Then, we’ll install and configure the packages needed for VR development in Unity. After this, we’ll look at the gameplay for the VR game we’re going to develop. Then, we’ll set up the game environment.

Next, we’ll map a VR headset and controllers with the XR Interaction Toolkit to enable head and hand ...