Search found 1 match

by fds
Tue May 11, 2004 3:54 am
Forum: Advanced Help
Topic: rotation in z-axis
Replies: 3
Views: 840

rotation in z-axis

Hi,
I'm trying to rotate a model in the XYZ axis, using the getRotation() and setRotation() methods. The rotation in the X and Y axis work perfectly, but the Z-axis rotation don't. When I set a rotation angle in the Z-axis, the model rotate around the world Z-axis, instead of the model Z-axis.
What ...