camera matrix

can someone point me in the direction for how to get the cameras matrix? also would that be returned as row or column major?

or more directly, by default, which direction does the camera face?

thanks in advance.

well, my main issue has been resolved. i wrote a little code to create a square aligned in the xy plane, but it looked like it was tilted. it wasn’t though, i’m just crazy :smiley:

i guess i don’t even need the matrix, as getTransform will return to me the data i want, in a nice format too. is that correct?

I think Panda tries pretty hard to make sure you rarely need to access matrices directly. You should be good generally with the get/setPos and get/setHpr() functions.