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);
"trans" is the Transform3D variable and "worldTrans" is the TransformGroup variable.When I run it only the second rotation is executed but not the first. I try to change rotation arguments' places, try to use a second Transform3D variable and etc. Always compiler pay attention to one rotation argument and it is always the second.
Is there anyway to get more than one rotation arguments executed in Java3D?
Thanks for your suggestions in advance........................
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
