Exclude geometry from picking
![](/skins/images/E8CF5EB8DD5884B6313517A53486E8AC/responsive_peak/images/icon_anonymous_message.png)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
in our setup we use the VIVE controllers to trigger touchsensors in the scene. For that in the script we do:
pickedNode, pickedPos, pickedNormal, pickedUV = controller1.pickNodeEx()
callAllPickingPressed(pickedNode, pickedPos, pickedNormal, pickedUV)
This works fine except for that sometimes we have geometries that should never be picked and are blocking the objects with touchsensors.
One example is, we user our own 3d model for the the VIVE controller (from the VRED demo) which then is always the picked object.
Another example are shadow planes that cover geometries we want to pick.
I there a ways to exclude nodes from picking?
The only workaround I found is to hide the nodes before calling pickNodeEx() and show them after that again. This works but is very hacky....
Cheers,
Timo