Implementing GameObject Interaction with Pressable Button on HoloLens 2 instead of finger

Oualid kilani 5 Reputation points
2024-10-05T18:26:22.69+00:00

I would like to know how i can make a Gameobject in unity interacting with a pressablebuttonhololens2 the same way as a finger ! Thank you for your answer

HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
398 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Ying Li - MSFT 1,200 Reputation points Microsoft Vendor
    2024-10-08T03:46:52.3933333+00:00

    Hello, Welcome to Microsoft Q&A,

    If you want to make your own pressable buttons, you can use components like PressableButton and PressableButtonHoloLens2 provided by MRTK. To learn more about how to use them, please see - Buttons - MRTK 2 | Microsoft Learn.


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Oualid kilani 5 Reputation points
    2024-10-09T08:27:55.7833333+00:00

    Hello , i am not asking how to make my own pressable button , i am asking how i can make any object like a sphere for example interact with the button the same way the finger interact , i mean when i approach the sphere to the button it pushes the button and press just like the finger

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.