rotating meshes problem...

Started by
0 comments, last by FreJa 20 years, 10 months ago
Hi, I''m reading a 3d object from a file I created. This object is made of 4 different meshes. I''m trying to rotate the object, but all the 4 meshes rotate individually, instead of making a whole rotating object. Why? Any help? Thanks
"Through me the road to the city of desolation,Through me the road to sorrows diuturnal,Through me the road among the lost creation."
Advertisement
Because GL transformations are always applied locally. To rotate an object about the origin, for example, you need to first translate it by its negative translation, then rotate it, then reapply its original translation.


Geocyte Has Committed Suicide.
Geocyte Has Committed Suicide.

This topic is closed to new replies.

Advertisement