Scaling, rotating, translating
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.
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.
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement