Hi all! I have built a world that includes boxes, spheres and a plane. I want to be able to get coordinates by picking the objects. What is the best way to do this?
I tried to do it with PickCanvas, but I always get a CapabilityNotSetException: "GeometryArray: no capability to get vertex count" when I click on the plane and "Shape3D: no capability to get geometry" when I click on one of the boxes. Which capabilities are have to be set? Here is some of the code: c.addMouseListener( this ); pickCanvas = new PickCanvas( c, scene ); pickCanvas.setMode( PickTool.GEOMETRY_INTERSECT_INFO ); pickCanvas.setTolerance( 4.0f ); I appreciate any help! Thanks in advance! Katja -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net =========================================================================== 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".
