I think what your asking is "why does my object move when I rotate it?"
Well, again I assume that you have a Shape3D under a TransformGroup, and
you are rotating this transform. Rotations occur about the origin of
the transform, so if the transform has any non-zero translation
components, the object will move about the origin.
You may want two transform groups:
TG1
|
TG2
|
Shape3D
Perform the rotations on TG2, but the translations on TG1
Hope this helps. If not, show some code snippets or a depiction of your
scene graph.
-Lee
-----Original Message-----
From: silvano [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 08, 2001 9:26 AM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Could you help me in any question?
Could you tell me i can do when:
if the object is rotated in x, y, z. it moves with the object instead of
stay fixed.
I'd like to know how rotate my obect when this happened axles ( x , y ,z
) rotate together with my object.
===========================================================================
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".