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 :- )
Forum topic · General Scripting
By Dariusz · 2017-02-12
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 :- )
.
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.