Head tracking uses cameras on the headset to track the movement of the user’s head. This allows the headset to display 3D content at a specific point in the user's viewing area.
The Magic Leap 2's Head Mounted Display input is separated into two parts:
- Input that is generic and can be accessed using Unity's Input System.
- Device specific input such as Mapping and Head Tracking State events can be accessed using Magic Leap's
Map Events are now exposed and can be accessed using
MLHeadTracking.TryGetMapEvents(headDevice, out MLHeadTracking.MapEvents mapEvents);