xformMatrix vs Matrix

Hi!
Can someone explain to me the difference between the xformMatrix and the Matrix? (not the xform command, just the attribute)

I understand what the worldMatrix, the offsetParentMatrix and the parentMatrix are, but I can’t find any documentation on the xformMatrix

I tried to get the values of xformMatrix and Matrix with getAttr(), but they seem the same, so I don’t know how to understand the difference without any documentation.


Someone else asked here:

but he was interested more in the world matrix so there’s no answer to the xform.

Thank you so much in andvance!

It’s sometimes hard to come by, but Maya has node documentation available.

https://help.autodesk.com/cloudhelp/2024/CHS/Maya-Tech-Docs/Nodes/transform.html

Scroll down to the bottom of that link, and it says:

xformMatrix (xm) 
	Local transformation matrix. Contains the same information as the
matrix attribute on dagNode but it is stored in a format that can be
interpolated easily. 

So I’m GUESSING that it’s a plug storing an MTransformationMatrix instead of just an MMatrix

2 Likes

Ahaa, okay, mistery solved! hahah
Thank you so much!