Hello everybody!
I use the following code to pick objects in the scene:
pickCanvas.setShapeLocation(xpos,ypos);
PickResult pr = pickCanvas.pickClosest();
if(pr != null)
shape = (Shape3D) pr.getNode(PickResult.SHAPE3D);
For some reason, if I put some objects one after another in Z
direction and pick them, the object that is picked is not
the closest to me, as one whould expect, but the farthest, the
last in Z direction.
Any ideas?
Thanks for your help
Boris Epelman.
===========================================================================
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".