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
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.