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 / camera to follow behind the car

Author
Message
Ghost Games
18
Years of Service
User Offline
Joined: 1st Aug 2007
Location:
Posted: 20th Dec 2010 19:34
hi all

how can i get the camera tot stay behind the car, had tryed almost anything, accept the right thing

any help would be nice.

here is my code



thx
Sixty Squares
20
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 20th Dec 2010 21:03
The "Angle" parameter tells the camera which angle it should follow the target (your car) at. Right now it is at 0, so it will always face the same direction. If you make it follow at the car's angle, then it should always follow behind the car




Guns, cinematics, stealth, items and more!

Login to post a reply

Server time is: 2026-07-21 07:03:38
Your offset time is: 2026-07-21 07:03:38