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.

Newcomers DBPro Corner / Rotate camera with mouse

Author
Message
Farooqaaa
18
Years of Service
User Offline
Joined: 26th Jun 2006
Location: Universe
Posted: 2nd Jul 2008 20:17
How to do that?

Heres my current code


I can walk around but I want the mouse to rotate the camera.

How to do it...?

Thanks
DB PROgrammer
17
Years of Service
User Offline
Joined: 9th Feb 2007
Location: Nowhere But Everywhere
Posted: 2nd Jul 2008 21:10 Edited at: 2nd Jul 2008 21:14
This should do it.



Edit:
Oops, didn't relise you where using a 3rd person view. Is this what you wanted?




I'm Pro grammer.
Farooqaaa
18
Years of Service
User Offline
Joined: 26th Jun 2006
Location: Universe
Posted: 2nd Jul 2008 22:09
Thanks I got it now. Its working fine.

Thanks again DB Programmer.

Login to post a reply

Server time is: 2024-11-25 02:07:42
Your offset time is: 2024-11-25 02:07:42