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 / Moving Camera when right mouse button is clicked

Author
Message
Night
15
Years of Service
User Offline
Joined: 3rd Jan 2009
Location:
Posted: 3rd Jan 2009 20:28
Im new to DarkGDK and learning C++ have some experience but learning more as I go.
Ive searched the forums and have only been able to find either a basic chase cam or control with keys or always control with mouse, im trying to make it to where its a chase cam (srd person RPG style) and then you can adjust the pitch of the camera by using the mouse and right click, but i cant seem to get it right this is what i have so far.

the movement works and it rotates it and the update camera keeps the angle mostly for the pitch(gets a little messed up with terrain sometimes). could use some help thanks

Login to post a reply

Server time is: 2024-11-25 11:48:38
Your offset time is: 2024-11-25 11:48:38