Game Development Community

MatrixF.mul() and MatrixF.affineInverse()

by Cinder Games · in Torque Game Engine · 06/30/2006 (5:42 pm) · 2 replies

Can anyone give me a tutorial on
these functions? the documentation on them is pretty vague.

It seems like affineInverser sorta creates some sorta... opposite matrix of sorts... and if you multiply an inversed matrix with another you can find the differences. this is what i've determined thru experimentation.

I'm having a hard time grasping some of this and was wondering if there are any other documents that might give me a better understanding of these Matrix related functions.

#1
06/30/2006 (6:34 pm)
This is basic matrix math stuff. I recommend reading up on your 3d math at which point those functions should become relatively obvious. Try www.gamedev.net/reference/articles/article695.asp.

None of this is Torque specific, except for the notion of mulP and mulV, which distinguish between rotation&translation or just rotation. (P as in Point, V as in Vector.)
#2
06/30/2006 (6:51 pm)
Oh, that's a good one ben. thanks. I'll read that.