Dilmer Valecillos | Powerful Magic Leap 2 INPUT Features Are HERE! (Controller & Head Pose) @dilmerv | Uploaded November 2023 | Updated October 2024, 3 hours ago.
Today, we're going to cover how to use the Magic Leap 2 Powerful INPUT API.
β€οΈ Support on Patreon: patreon.com/dilmerv
π Subscribe for more XR Tutorials : youtube.com/@dilmerv?sub_confirmation=1
π¦ Twitter X: twitter.com/dilmerv
π₯ Discord : discord.gg/dNMHBc8KdP
πΈ Instagram : instagram.com/dilmerv
We'll go over how to detect controller input changes, how to read controller state information directly, and how we can detect a variety of gestures generated from the controller touchpad. Also, we will make use of head pose info to adjust a canvas UI position and rotation, which will make the UI follow us around. Lastly, Weβll test all of these features by using a powerful dev tool called the βApplication Simulatorβ as well as deploying to the device.
π‘ Download or clone the Magic Leap 2 Input Unity project from: github.com/dilmerv/MagicLeapInputDemos
π Magic Leap 2 Input Video Chapters:
00:00 - 00:31 - Introduction to Magic Leap 2 Input (Controller & Head Pose)
00:31 - 01:31 - Creating a new unity project with ML2 input features and Unity ML2 application simulator
01:31 - 02:50 - ML2 application simulator action bindings and demos
02:50 - 15:54 - Interacting with ML2 Input API with Unity scripting (Controller Input)
15:54 - 19:02 - Reading head pose information to change UI position and rotation during input events
π Great Magic Leap 2 Input Resources:
- Controller API Overview: https://developer-docs.magicleap.cloud/docs/guides/unity/input/controller/unity-controller-api-overview/
- Application Simulator (Action Bindings): https://developer-docs.magicleap.cloud/docs/guides/developer-tools/app-sim/app-sim-action-bindings/#movement-controls
- Helpful ways to read input within callbacks: docs.unity3d.com/Packages/com.unity.inputsystem@1.0/api/UnityEngine.InputSystem.InputAction.html
- Controller Gestures: https://www.magicleap.care/hc/en-us/articles/4424698871565-Controller-Overview
Also huge thanks toβ @MagicLeap for sponsoring this ML2 video!
π₯½ Learn & Get my XR Training from:
learnxr.io
π My Blog / π₯ Newsletter (Subscribe to get up to date XR news)
blog.learnxr.io
#xr #metaverse #unity #magicleap
Today, we're going to cover how to use the Magic Leap 2 Powerful INPUT API.
β€οΈ Support on Patreon: patreon.com/dilmerv
π Subscribe for more XR Tutorials : youtube.com/@dilmerv?sub_confirmation=1
π¦ Twitter X: twitter.com/dilmerv
π₯ Discord : discord.gg/dNMHBc8KdP
πΈ Instagram : instagram.com/dilmerv
We'll go over how to detect controller input changes, how to read controller state information directly, and how we can detect a variety of gestures generated from the controller touchpad. Also, we will make use of head pose info to adjust a canvas UI position and rotation, which will make the UI follow us around. Lastly, Weβll test all of these features by using a powerful dev tool called the βApplication Simulatorβ as well as deploying to the device.
π‘ Download or clone the Magic Leap 2 Input Unity project from: github.com/dilmerv/MagicLeapInputDemos
π Magic Leap 2 Input Video Chapters:
00:00 - 00:31 - Introduction to Magic Leap 2 Input (Controller & Head Pose)
00:31 - 01:31 - Creating a new unity project with ML2 input features and Unity ML2 application simulator
01:31 - 02:50 - ML2 application simulator action bindings and demos
02:50 - 15:54 - Interacting with ML2 Input API with Unity scripting (Controller Input)
15:54 - 19:02 - Reading head pose information to change UI position and rotation during input events
π Great Magic Leap 2 Input Resources:
- Controller API Overview: https://developer-docs.magicleap.cloud/docs/guides/unity/input/controller/unity-controller-api-overview/
- Application Simulator (Action Bindings): https://developer-docs.magicleap.cloud/docs/guides/developer-tools/app-sim/app-sim-action-bindings/#movement-controls
- Helpful ways to read input within callbacks: docs.unity3d.com/Packages/com.unity.inputsystem@1.0/api/UnityEngine.InputSystem.InputAction.html
- Controller Gestures: https://www.magicleap.care/hc/en-us/articles/4424698871565-Controller-Overview
Also huge thanks toβ @MagicLeap for sponsoring this ML2 video!
π₯½ Learn & Get my XR Training from:
learnxr.io
π My Blog / π₯ Newsletter (Subscribe to get up to date XR news)
blog.learnxr.io
#xr #metaverse #unity #magicleap