Community
VRED Forum
Welcome to Autodesk’s VRED Forums. Share your knowledge, ask questions, and explore popular VRED topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Exclude geometry from picking

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
356 Views, 2 Replies

Exclude geometry from picking

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

2 REPLIES 2
Message 2 of 3
seiferp
in reply to: Anonymous

There is the option in the context menu (RMButton) in the scene graph to lock objects and make them unselectable.
Message 3 of 3
Anonymous
in reply to: seiferp

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?

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report