Forum Discussion

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

How can I prevent fingers from passing through UI elements in world space?

Hi, I am experimenting with hand tracking, and I would like the hand prefabs to not pass through objects in world space.   For example, If I have a Canvas in world space with UI elements, I would like to press a button with a finger, without the finger passing through the plane - is this possible?   The train scene has buttons, but the fingers pass through in that example as well.

I am a beginner with Unity.

Thanks in advance for your insights!
Replies have been turned off for this discussion