Hmm... I dunno this is a bugs or is my misintepretation of INVERSE MATRIX4 command.
From what I understand, an inverse matrix A' of a matrix A will result
A'A = I
or
AA'= I
where I is an identity matrix.
When I tried this in DBpro, it seems doesn't work as I expected
r = make matrix4(1)
set identitiy matrix 1
rotate y matrix4 1, 1.57
r = make matrix4(2)
set identitiy matrix 2
r = inverse matrix4(1, 2)
r = make matrix4(3)
multiply matrix4 3, 1, 2
print "Result: " + str$(is identity matrix4(3))
wait key
The result is FALSE! Hmmm... how odd?
p/s: And also, does anyone notice that ROTATE X MATRIX, ROTATE Y MATRIX, and ROTATE Z MATRIX parameter is actually angle in RADIAN, instead of DEGREE, as in other command that requires angle as parameter. Hmmm.... somewhat inconsistent in DBpro function, eh?

Bad Nose Entertainment - Where games are forged from the flames of talent and passion.
http://www.badnose.com/