Structure of object matrix

I searched the guid and availibel docs for infos on the structure of the object matrix but couldn’t find any - can anybody help me out? I need to how the object matrix is build up, so I can get position, translation, rotation etc of it.

Thanks & regards,
Christoph

It’s a standard 4x4 orientation matrix.

The first 3x3 matrix (starting on the first collumn vector) is the rotation and size matrix. It indicates the local axis of the object. The first collumn vector is the X-axis, the second the Y-axis and so on. Each vector is multiplied by the scaling factor on that axis.

More on rotation matrix: http://mathworld.wolfram.com/RotationMatrix.html

The last collumn vector is the location of the object with the value 1 as fourth member of the vector (all other 4th items are zero).

Hope that was helpful.

Martin

Thanks again, got it now :smiley:

Regards,
Christoph