Yeah, the default RotationInterpolator is a pain that way... We had the same problem. It's like it can only rotate objects around the main axises X, Y, Z.
We used RotPosPathInterpolator instead and just set all the Point3f[] positions at the same Point3f so we can rotate things anywhere in the map. I don't know if this is a bug in Java 3D or if this is the best way to do things, but time was of the essence and it solved our problems. Hope this helps! CHRIS ----- Original Message ----- From: "Giuseppe Montano" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 11, 2003 6:24 PM Subject: [JAVA3D] Head rotation > Hi everybody! > I'm writing an application for an exam I have to face at the University. > It's such a kind of humanoid that, through voice recognition and synthesis, > answers some questions and executes commands. > This part of the program is done using JSAPI. Now, since I have time > remaining, I wanted to give a head to my project. I designed it with > 3DStudio and now I would like to create a scene in which my head rotate, > indefinitely, in a range of 60 grades from left to right and back. > I created the scene, placed the head with a Transform3D, added the > AlphaInterpolator for rotation but I cannot make the head rotate on itself, > or better, once I made my head rotate but I wasn't able to place it in a > well visible position in the SimpleUniverse because the rotation was on an > external axis from the head. (It rotated around me!) > Any suggestion on how insert a mesh in the simpleUniverse, put it in a > visible position and make it rotate on itself? > > Thank you. > > =========================================================================== > 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". > =========================================================================== 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".