OpenGL: Keeping mouse in center of screen -mouselook
Think of Unreal or Half-life where you have mouselook and your cursor is always in the middle of the screen. I''m having trouble keeping my cursor in the middle. I searched the forums and found that people use glutWarpPointer. But when I use it after every screen-draw, it slows everything down really bad. Anyone have any experience doing this that can give me some tips. Thanks in advance.
It may be worth posting this in the Math and Physics forum. I would approach the problem with vectors, but a solution does not come to mind right now.
Don''t use the mouse to move the mouse cursor - use it to move the world around the cursor.. simple There are some articles about it here on gamedev.. look under "Articles & Resources"
| Email | Lex & Yacc | Function Pointers | Virtual Terrain | Knowledge Base | Real Programmers | DirectSpam
"Evolution is NOT a mistake"
| Email | Lex & Yacc | Function Pointers | Virtual Terrain | Knowledge Base | Real Programmers | DirectSpam
"Evolution is NOT a mistake"
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement