sorry if I made the topic wrong, but I'm new to this forum.
I'm currently writing on a little game which is supposed to be a third person game.
So I created a camera to rotate around the character.
So good so far. My issue is that the mouse reaches the corners of my display and the camera stops rotating.
I tried working with glutwarppointer to warp my pointer back to the center of the screen.
But it triggers my camera to rotate back, because the glutpassivemousefunc is called.
I tried using a BOOL to keed the camera moving just when its false and tried
mouselock = true;
glutwarppointer(windowwidth/2, window height/2);
mouselock = false;
but it still triggers the camera.
does anyone got any ideas?
Just so you know I'm working with Mac OS X Mountainlion and Xcode.
Any help is very much appreceated.