See Java3D API documentation: "java.lang.IllegalArgumentException - if Node is not a Shape3D or Morph or if the flag value is not valid."
Vladimir A. Vernikovski Programmer ------------------------------------------- JPROOF Technologies Ltd. ----- Original Message ----- From: "nagehan pala" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 17, 2003 1:55 PM Subject: [JAVA3D] is Sphere an improper node? > hi all > > There is a Sphere object, named "sphere" and it is a part of a live scene. I > want it is pickable, so I write this line; > > PickTool.setCapabilities(sphere, PickTool.INTERSECT_FULL); > Also, there is a PickTranslateBehavior object that is a child of the same > BranchGroup. > When I run the program, this error message is given: > > java.lang.IllegalArgumentException: Improper node type > at com.sun.j3d.utils.picking.PickTool.setCapabilities(PickTool.java:276) > > Any idea? > thanks > > Nagehan Pala > > _________________________________________________________________ > Protect your PC - get McAfee.com VirusScan Online > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > > =========================================================================== > 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".