ahmet balci wrote:
   Hi,
   I am trying to make a rotation around x axis which is following the
rotation around y axis (of a plane object).
   I wrote the following code piece for this purpose;

    trans.rotY(0.5);
    trans.rotX(1.2);
    trans.setScale(0.007);
   worldTrans.setTransform(trans);


You can try with setEuler. Some of the set* method of transform reset other values in the matrix, see javadoc for details.

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