Head Tracking Overview
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.
Overview
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
InputSubsystem.Extensions
.
info
Map Events are now exposed and can be accessed usingMLHeadTracking.TryGetMapEvents(headDevice, out MLHeadTracking.MapEvents mapEvents);
See also
- Tracked Pose Driver
- An easy way to access the HMD's positional and rotational input.
- Porting Guide
- Learn how to access the Magic Leap's Head Tracking state and mapping events.