Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / dbRotateCamera problem

Author
Message
tomtetlaw
15
Years of Service
User Offline
Joined: 18th Jan 2009
Location:
Posted: 1st Jul 2009 13:27
When I try to rotate the camera around with the mouse, it just keeps putting it to the middle of the screen :S heres my codE:


Any help would be appreciated
Mista Wilson
16
Years of Service
User Offline
Joined: 27th Aug 2008
Location: Brisbane, Australia
Posted: 1st Jul 2009 14:24 Edited at: 1st Jul 2009 14:31
try this for a simple "mouse look":



instead of :





or you could try this for a whole "fps style" with cushioning:
(the below isnt my code, i think i got it originally from a shader demo that was written by green gandalf)



EDIT : sorry left off 2 variables on the bottom of the cut/paste.

If it ain't broke.... DONT FIX IT !!!
tomtetlaw
15
Years of Service
User Offline
Joined: 18th Jan 2009
Location:
Posted: 1st Jul 2009 14:58
Thank!

Login to post a reply

Server time is: 2024-10-01 06:00:31
Your offset time is: 2024-10-01 06:00:31