ScriptSpot

Forum topic · General Scripting

MCG - Copy / Translate and rotate & scale

By Dariusz · 2017-02-12

Downloads
Description

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 :- )

Comments (1)

.

Swordslayer · 2017-02-12

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.