Andrea Todeschini wrote:
Hi all!
I have a little ask..how can i create a bounding sphere on a Sphere
object. Sphere gives me only the radius, how can i get the centre?

Hi, I'm not sure to correctly understand the question, but a Sphere is centered at 0,0,0 of it's coordinate system, defined by the TransformGroups above it. You cannot really move the center of the sphere, you define a new TG translated to another place, but respect to this new TG the center is still 0,0,0.

I you are using a BoundingSphere you can use 0,0,0 as the center, even
if the sphere is under a TG.

Bye


Lorenzo


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