Archived

This topic is now archived and is closed to further replies.

Getting position values from a matrix.

This topic is 5015 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Because I am not very good at matrix math, suppose I have a D3DXMatrixTranslation (&matrix, 10,10,100); Now.. this matrix is built, but afterwards, what are the matrix elements that correspond to each x,y,z, so I can find them later?

Share this post


Link to post
Share on other sites
This generally only works with translation matrices.

Look in (4,1),(4,2),(4,3) for the translation values. (I might have that transposed. I don''t think so, but they might be in (1,4),(2,4),(3,4) instead. )


I like pie.

Share this post


Link to post
Share on other sites