Hello
I implemented a camera (Quake style - First Person shooter). Now, to finish my work, my last question is : How can I add a function that could give to the player the possibility to JUMP (Step).
Each frames, the camera is updated…
Ex :
function DrawScene(void) { glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); glMatrixMode( GL_MODELVIEW ); glLoadIdentity(); TheCamera.Update(); }
So do I need a timer to follow the jump event or something else ?
Thanks
Martin