Hi, try something like this:
PickTool.setCapabilities(new Box(x,y,z,myAppearance), PickTool.GEOMETRY); Catalin Barbulescu OTTO Software Development Bucharest, Romania -----Original Message----- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]]On Behalf Of Siew Ching Tan Sent: 4 februarie 2002 09:45 To: [EMAIL PROTECTED] Subject: [JAVA3D] How to set the capability for vertex count? Hi, I got this exception when I tried to perform a pick on a Shape3D object. However, I am not sure how can I set this capability. Exception occurred during Behavior execution: javax.media.j3d.CapabilityNotSetException: GeometryArray: no capability to get vertex count Help is needed! thanks! SC =========================================================================== 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".