Hello,

My problem is, I'm sure for you experts its very simple, but I can't find my 
way out...

I try to rotate an object around different axis depending on user's choice.
I'm using a RotationInterpolator. The Transform3D for the axis selection is 
create as follow: Transform3D Axis = new Transform3D();

Then I'm using the rotX, rotY or rotZ on Axis to change the axis of rotation.
If I give a very small angle in any of those methods, it looks like they 
all rotate around the same axis (Y).
If I give a 90 degree angle, the rotation axis are clear but the X and Z 
axis are swapped (thing I would have expected...).

What I don't understand is why they all rotate around the same axis for a 
small angle?
I looked at the rotation matrix and they all look ok?

Does anyone have a working example of objects rotating around different axis?
Or can anyone give me a way of doing it...

Thanks,

Chris.
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to