03-10-2004, 09:28 AM
hi http://www.opengl.org/discussion_boards/ubb/smile.gif
i am making a 2d side scrolling platform game with the camera following the character while the platforms and obstacles move in relation to the character and camera.
I have been trying to use gluLookAt and gluPerspective but have had no luck with them.
Can some1 please give me some advice on the best way to make the camera follow the character.
Many thanks
Chris
i am making a 2d side scrolling platform game with the camera following the character while the platforms and obstacles move in relation to the character and camera.
I have been trying to use gluLookAt and gluPerspective but have had no luck with them.
Can some1 please give me some advice on the best way to make the camera follow the character.
Many thanks
Chris