Introduction to the Mixed Reality Toolkit - Set Up Your Project and Use Hand Interaction
The Mixed Reality Toolkit (MRTK) is a cross-platform toolkit for building mixed reality experiences for Virtual Reality (VR) and Augmented Reality (AR).
Suppose you're creating a mixed-reality experience in which the user needs the ability to move, rotate, and scale a holographic object. Although you could start from scratch and create your own scripts to enable such manipulations, it can be time consuming and error-prone, especially if there are multiple objects to configure. The Toolkit provides a set of prebuilt components and features that you can use to accelerate your Windows Mixed Reality development. By the end of this module, you'll be able to set up a Unity project configured for Windows Mixed Reality development and add scripts to objects that enable users to move those objects with their hands.
You can find a completed example of this tutorial here.
Learning objectives
- Configure Unity for Windows Mixed Reality Development
- Import the Mixed Reality Toolkit (MRTK) foundation package into Unity
- Add MRTK to a Unity scene
- Compare and contrast the three primary MRTK interaction models
- Add scripts to an object so that users can move the object with their hands
Prerequisites
- A Windows 10 or 11 PC configured with the correct tools
- Windows 10 SDK 10.0.18362.0 or later
- Unity Hub with Unity 2021.3 or later installed (be sure to check out the known issues in Unity versions and packages page)
- Mixed Reality Feature Tool