MCG - Copy / Translate and rotate & scale

Hey

I'm breaking apart slowly the MCG CloneAndTransformMesh trying to add a rotate and scale parameters eventually.

Can any1 suggest how can I merge the transform and rotation of mesh nodes? No idea how to even approach scale yet :- )

AttachmentSize
copyrotatescaletranslate.jpg130.58 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Swordslayer's picture

.

You have to build the complete transform matrix. Now, there are some rules that I could try to explain, but seeing how the ordering of multiplication of the rotation/translation/scale matrix influences the result is better, so here you go.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.