View Full Version : mouse user control

11-28-2002, 05:46 AM
I am creating a first person shooter. what i am working on now is the user controls. the user controls the camera. i have implemented the needed functions move forward,back,left,right which are controled by keyboard.and i have a yaw and pitch so that the user can look around. what i want to do is have the mouse get locked into the openGl window and when u use the mouse i want the camera to control the look so that it will look around based on mouse movement much like a first person shooter. i am using openGl in windows and using glut. any help is appreciated.

11-28-2002, 06:12 AM

11-28-2002, 06:21 AM
is there anyway that i can do this using glut or how can i do this without getting rid of glut and with as adding as little code as possible. Incus

11-28-2002, 06:22 AM
Haven't the foggiest - next question?