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 / Help with flight camera

Author
Message
H4ck1d
18
Years of Service
User Offline
Joined: 27th Dec 2005
Location: Yes
Posted: 3rd Feb 2006 23:23
Just a quick question, not sure completely if it belongs in the noob forum, but I thought I'd post it here. I'm trying to make a very simple flight game (extremely simple physics, etc.). I have so far been able to make the plane fly using the roll object and pitch object commands. My problem is, by using these commands, I can no longer get the angle value of my object, since pitch and roll don't effect the real object angle. Does anyone have a suggestion on how to get my camera to follow behind the plane? Any help would be appreciated. Thanks!
Virtual Nomad
Moderator
18
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 4th Feb 2006 05:56 Edited at: 4th Feb 2006 06:00
have you checked the Codebase under functions/camera? this one looks promising:

http://www.thegamecreators.com/?m=codebase_view_code&i=b3df8af157bd607a6f7fda4fcd950527

it's an offering from Seppuku, made just yesterday.

shouldn't be hard to modify it to fit your needs.

Athlon XP1800+, Windows XP+SP2, Soyo K7V Dragon+ MB, 1.5Gb 333 RAM, ATI Radeon 8700LT (128Mb)
Drivers and Updates Kept Current
H4ck1d
18
Years of Service
User Offline
Joined: 27th Dec 2005
Location: Yes
Posted: 5th Feb 2006 02:57
Actually, yes, it is a very good example, and I think I'll be able to inplement it in my code. Thank you very much, and thanks to Seppuku, for submitting the code!

Login to post a reply

Server time is: 2024-11-27 05:28:22
Your offset time is: 2024-11-27 05:28:22