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 / Camera movement following an object and mouse control....help!

Author
Message
jaykav99
15
Years of Service
User Offline
Joined: 30th Jul 2009
Location:
Posted: 7th Oct 2009 16:14
I am learning how to have a camera follow an object and i also want to be able to use the mouse for a 360 view of the area, basically like any game you see today. I have been cuting and pasting different code from other people just to get my feet wet. But combining these two codes is causing problems. Any point in the right direction would be helpful. Since i copy and pasted I have a feeling one code just cant work with another, however they both do work perfectly seperate.

this code has the camera follow the object.



and this is the 360 movement i added later

jaykav99
15
Years of Service
User Offline
Joined: 30th Jul 2009
Location:
Posted: 7th Oct 2009 19:06 Edited at: 7th Oct 2009 19:07
I was able to figure this one out on my own just a couple changes and additions i was able to think up, below is the full code.

Login to post a reply

Server time is: 2024-11-24 01:57:14
Your offset time is: 2024-11-24 01:57:14