Page 1 of 1

Camera rotation

Posted: Sat Feb 14, 2009 3:26 pm
by Psych
Hi, I'm working with terrains at the moment and for the sake of testing I have put up the cameras location in the top left hand side of the screen, now getting the camera z,y,z is simple enough, but I cannot seem to find a method to get which direction the camera is facing.

Is there such a method, or do I need to keep track of this in a variable?

Posted: Thu Mar 05, 2009 3:50 pm
by Blobby
I know it sounds odd, but there's no way of finding the direction of anything, camera or entity.

So yep, you'll have to try and track the direction yourself.