Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
ped1130's avatar
ped1130
Honored Guest
5 years ago

Using my real finger touch as mouse click.

Hello.

 

I'm developing VR app using unity with Oculus Quest2.

I'm using OVRCameraRig for tracking my bare hand.

 

I want to use finger touch as mouse click to interact with UI(Button, Dropdown etc.)

 

Is there any way to do it?

Please share me if you have one.

Thank you 🙂

1 Reply

  • The best (but more difficult) solution for you to do is to write your own custom input module. Then you need to develop some logic when to trigger press and when to release. Perhaps distance to canvas...

    Second solution, which is easier but I wouldn't recommend you doing that, is simply putting colliders on UI elements and a collider on your finger tip and trigger events on collision.