Notifications
Clear all
[Closed] Matrix3 scale to [1,1,1]
Sep 17, 2015 2:02 pm
Hi all. A short question:
How can I set the scalepart of a matrix3 to [1,1,1] before asigning it to a node.transform?
Thanks in advance.
5 Replies
Sep 17, 2015 2:02 pm
the easiest way is just to rebuild the matrix with no scale:
translate (oldtm.rotation as matrix3) oldtm.position
Sep 17, 2015 2:02 pm
funny I was just struggling with this, and came up with a much uglier solution.
1 Reply