Archived

This topic is now archived and is closed to further replies.

zalian

Scaling, rotating, translating

Recommended Posts

zalian    122
Hi! Let''s imagine following: You have an object, which has ie. four meshes. (In my case I use XFile function called Load to retrieve the meshes from the file.) Then you want to scale it and then rotate it. When you scale it, the tires, in my case are not scaling properly with the carbody. Any explanation why? And when you have tried to scale it, and want to rotate it, the object is not anymore scaled. It returns to original size. Why? Thanks.

Share this post


Link to post
Share on other sites
aanand_420    122
Need more info.
I think you are scaling on a set of vertices and then rotating the original vertices (ie the one which is not scaled). Otherwise I don''t see any reason for the problem. Try concatenating the scale matrix and rotation matrix using multiplication. That should do it.

Share this post


Link to post
Share on other sites