As far as I know picking effects a Shape3D. Since Shape3D can hold more than one Geometry, you could put both the cylinder and sphere Geometries in a single Shape3D (if not other reasons not to do so exist). regards Paul Bob Dengle schrieb: > Hi > > You could put both of your shapes under one transform group. Take the shape > that is returned from your picking method, get its parent transform, and > apply whatever transformations you need. > > B.D. > > >From: Laurent Schwab <[EMAIL PROTECTED]> > >Reply-To: Discussion list for Java 3D API <[EMAIL PROTECTED]> > >To: [EMAIL PROTECTED] > >Subject: [JAVA3D] Java3D----picking > >Date: Fri, 10 Aug 2001 08:48:52 -0700 > > > >Hello, > > > >I HAVE A QUESTION ABOUT PICKING IN JAVA3D ON > >COMPOSED 3D OBJECTS. > > > >How would it be possible to effectuate a Picking (using the > >PickTranslateBehavior class) with the mouse on a "composed > >3D object", which is composed of many Shape3D. > > > >For example: the 3D object could be composed of a sphere > >and a cylinder. > > > >I would like to effectuate a picking on my "composed 3D object" > >by pointing the mouse either on the sphere or the cylinder. > >The goal of that action should result on the translation of the > >cylinder AND the sphere simultaneously. > >In other words, if I wish to translate my "composed 3D object" > >from point A to point B, what would be the logical guide line > >that I could use (program wise) to translate the two objects > >(the sphere and the cylinder) as if they were one united object? > > > >Thanks! > > > >=========================================================================== > >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". > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > =========================================================================== > 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".