Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Exclude geometry from picking

Anonymous

Exclude geometry from picking

Anonymous
Not applicable

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

0 Likes
Reply
382 Views
2 Replies
Replies (2)

seiferp
Community Manager
Community Manager
There is the option in the context menu (RMButton) in the scene graph to lock objects and make them unselectable.
0 Likes

Anonymous
Not applicable

Thank you for the fast reply!

I tried the toggle option Selectable and the Edit->Lock. Unfortunately both does not effect the pickNodeEx() function.

Did you perhaps mean something else?

0 Likes