PDA

View Full Version : Camera Issues



Xero_Tolerance
03-30-2004, 06:44 PM
Hey. My problem is pretty much this... I have a space ship object which can rotate on the x, y, and z axes. Now it moves right and everything but the problem I'm facing is I can't get the camera to rotate with the ship. I can get the camera to follow the ship's position and rotate correctly about the y-axis, but I have no idea how to do the rotations on the x and z axes. I've looked up information on matrices and tried those but no luck and tried other various 3d math manipulations but no luck with those either. Any help or articles on the subject would be much appreciated. Oh, and something explaining how to do third person view with x, y and z would be very nice as well, thanks.

Tom Nuydens
03-30-2004, 11:02 PM
Moving to the beginners forum.