I have two Spheres moving around and yet their BoundingSpheres are always
located at (0,0,0).  Is this because the BoundingSphere object is reporting
its coordinates relative to the Node it bounds?  I am trying to detect an
intersection between these two Spheres of radius 1, but the
bounds1.intersect(Bounds bounds2) method always returns true, even when the
spheres are located at say (5, 0, 0) and (-5, 0, 0).  Why?  I was under the
impression that a Bounds object's position and orientation would be updated
with the TransformGroup that contains its parent Node.  I set the Spheres'
BoundingSpheres before the Spheres are added to their TransformGroups and
before the BranchGroup is compiled.  What do I need to do to get the
BoundingSpheres locations updated with their parent Spheres' locations?

Thanks for any help,
Peter

===========================================================================
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".

Reply via email to