> Hi,
>
> I have a small questions about picking:
>
> My scene contains many objects and I am making some of them invisible by
> turning the "setVisible()" method true and false.
>
> I also created my picking class and I can select objects by creating a
> PickRay.
>
> However, the PickRay also selects the objects that are not visible. How
> can I prevent this? Is the only way detaching the objects from the scene
> and than attaching them to the scene again when needed?

use Node.setPickable(boolean pickable)

Don't know if you can set this property on a live object...

>
> Thanks
> Ali
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JAVA3D-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to