translateMatrix = transMatrix subMove * ((eulerAngles subRotate.x subRotate.y subRotate.z) as matrix3) * scaleMatrix subScale This line builds the target transformation matrix from the input parameters. I do it all in one line to minimize code, and maximize confusion. :) A transfrom matrix is built from these components:…
Sorry for the late response. First I want to thank you for this code. It is really helping me a lot. The move and rotate are working very well. I am still havin't issue witht the scale. I have look at the code you wrote and there are some lines that I don't exactly know what they do. Here are the line: translateMatrix =…
The rotate and scale command don't work on vertices. If you think about it, verts don't have a rotation/scale property, only a position property. So instead of rotating you need to calculate the rotation/scale and then set the position based on that. This code below will move/rotate/scale the verts. There is comments in…