I managed to get the mouse to work by changing
player.pan +=(key_q - key_e)*4*time;//turning left and right to
player.pan -=2 * mouse_force.x;
and
temptilt +=(key_pgup - key_pgdn)*4*time; to
temptilt +=2 * mouse_force.y;
my only issues now is how to get the cursor to lock to center screen and clean up the code
what would be ideal is if I could click "m" and I could switch from cursor no movement to lock mouse and have freelook work
Last edited by tonyvans; 06/12/08 22:22.