I had trouble finding a reference for this, so I wanted to post a table of the Unity matrix component layout. The member names don't go the obvious direction for XY coordinates.
m00 m01 m02 m03
m10 m11 m12 m13
m20 m21 m22 m23
m30 m31 m32 m33
03, 13, 23 = Translation X, Y, Z
00, 11, 22 = Scale X, Y, Z
No comments:
Post a Comment