GetMatElement questions.

Blitz3D Forums/Blitz3D Beginners Area/GetMatElement questions.

How are you retrieving the scale values to output?

With an anim mesh the children will have their own scales (didn't realise you were using anim meshes), but the main entity should still have 1, 1, 1.

If you want I'll take a look at one of your meshes and see if I can find the problem.

You may be applying transformations in the wrong order. Also you can still use EntityX/Y/Z#() and the entity rotation commands to extract position/rotation from children - it's only the scale you cannot retrieve.

Also - none of the values in the matrix directly correspond to scale. The matrix is four 3D vectors: a position, and 3 axes. I think the scale is the length of those axis vectors and the rotation is their direction.