Hi everyone,
How to select the game object in the scene using magic leap controller trigger ?
I am using vuforia eyewear sample for model tracking where the UX/UI used is from mixed reality. After placing the model on the scene, I want to select the model with the help of magic leap controller trigger button and change the color of that model. I am unable to select the game object in the scene with the help of controller.
Since this question is not directly related to Magic Leap 2 , I recommend asking questions on the Unity Discussion page :
You can also see Unity's XRI tutorials:
https://docs.unity3d.com/Packages/com.unity.xr.interaction.toolkit@3.0/manual/tutorials.html
We do have a simple tutorial that is now deprecated here :
It can work for the OpenXR workflow with a few changes:
- You will need to use the OpenXR Input action asset found in the Magic Leap Example Project or, if you are creating a new project, importing the XR Rig and Input actions from the Magic Leap Unity Examples project.
- Follow the Building a Simple App tutorial to create an app that has a cube in it.
--
Tutorial on importing the Input Action Asset:
Tutorial on creating a cube: