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.

DarkBASIC Professional Discussion / Third Person Camera and Collisions?

Author
Message
DarkDISCUSSION
15
Years of Service
User Offline
Joined: 6th Jul 2011
Location: Ft Madison, IA
Posted: 10th Jan 2012 01:07
Hi,

I was just wondering if there is a good third person camera example and something that can show me how to set up collision detection easily. Could someone please point me in the right direction?


Thanks!

Let's not leak our hard work.
TheComet
18
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 10th Jan 2012 12:21 Edited at: 10th Jan 2012 12:25
The command set camera to follow combined with sparky's is the best way to go. This code is off the top of my head and untested (I can't compile at work), but it should point you in the right direction:



TheComet

Login to post a reply

Server time is: 2026-07-11 10:25:37
Your offset time is: 2026-07-11 10:25:37