10-14-2021 09:48 PM
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 🙂
12-01-2021 12:03 AM
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.