Hey dudes,
I’m trying to give the camera an arbitrary orientation based on a 4x4 matrix (I’d like to be able to specify the camera’s right/up/forward vectors). Maybe I’m being dense, but
m = Mat4()
m.invertFrom(matrixWithPositionAndRotation)
base.camera.setMat(m)
doesn’t seem to work. My matrix is essentially Row 0 = right Vector, Row 1 = up Vector, Row 2 = forward Vector, and Row 3 = position. Is that all right?