Rotating multiple meshes around a single point

Started by
0 comments, last by Zeke 20 years, 8 months ago
Say I have 3 Meshes of an arrow pointing up, each with its own world matrix, and I rotate each one 180 degrees on the z-axis, each arrow would then be pointing down right? i.e. 3 arrows: /\ /\ /\ rotate 180degrees: \/ \/ \/ but what if i wanted to rotate them all about say the origin so I wanted to end up with /\ /\ /\ (ok that is 90 degrees but you get the picture) How would i go about doing this? I understand that in this nstance i would need to move them not just rotate them but how do i figure out where to move them to? Thanks for any help you can offer.
Just my thoughts take them as you will. "People spend too much time thinking about the past, whatever else it is, its gone"-Mel Gibson, Man Without A Face
Advertisement
First mesh: Leave it.
Second mesh: Translate it to ( -mesh.Width, +mesh.Height ).
Third mesh: Translate it to( -mesh.Width*2, +mesh.Height*2 ).

If this is what you mean :-./*

.lick

This topic is closed to new replies.

Advertisement