aardvarkxr / aardvark

A platform for AR in VR
BSD 3-Clause "New" or "Revised" License
182 stars 20 forks source link

Gadget grabbable takes priority over gadget scanner #161

Open alandao opened 3 years ago

alandao commented 3 years ago

It's possible to have a composed entity with a moveable component whose grabbable range is greater than the immediate surrounding. This means the hand-cursors will always be selected to grab entity rather than anything else. I can't delete the gadget instance using the gadget scanner, as trying to press the trash button ends up grabbing the entity (assuming you have one hand that picked up the entity, the other hand picking up the scanner, and then letting go of the entity to press the trash button). To mitigate this, I have to restart Aardvark.

I think the gadget scanner and its grabbable entities(the trash button) should have precedence over any other gadget out there, so it can always be possible to delete rogue apps.

JoeLudwig commented 3 years ago

Yeah, the system stuff should probably have higher priorities on its volumes and forbid gadgets from using priorities that high.