Hello. I am trying to get rotations about an axis to work for me but I can't get them to work. Basically I have an entire scene created and can't get it to rotate using rotX, rotY and rotZ.
The scene originally places me at a point along the z-axis but I want the user to be on the x-axis. So I have tried using a 90 degree rotation about the y-axis to get the user to that point but it doesn't do anything. Below is the transformation group that I am using.
// Transform Group used to rotate entire scene
TransformGroup objRotate = new TransformGroup();
javax.media.j3d.Transform3D tp3d = new javax.media.j3d.Transform3D();
double rot = 1.571;
Any ideas? You can view the full source at http://www.astroh.org/SphereMotion.java