In a simulation I'm working on, I have an object that has gone through a bunch of transformations, and I need to get its current coordinates. The only idea I have is to somehow use the modelview matrix, which I know how to get, but the problem is that it's affected by the the object position and the camera position, and the camera position is changeable. Is there any way to just get the object coordinates/matrix, or to somehow get that out of the modelview matrix?



