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 Discussion / Rogue Squadron Type Camera Routine

Author
Message
TDBoy
21
Years of Service
User Offline
Joined: 29th Feb 2004
Location:
Posted: 24th Jun 2005 11:30
Third person space flight sim camera. The easiest way to do this, I know, would be with vectors. Well, I'm in DBC, so right now I'm envying those with the use of vectors =] I've tried a hack, orienting a camera object to the space craft, moving it back 30 units, then moving it up 20 units, and then position the camera at the objects position (I'm using Curvevalue). Now, it almost sounds like it would work, but it doesn't. I'm wondering if anyone else had any idea's on the topic.



For those who weren't entirely clear on my motives. Right now I'm trying to work out some math routines but I'm coming up short. Any thoughts would be helpful =]

The Life and Times of Semtex...
Sven B
20
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 24th Jun 2005 21:27
there are many ways to do this:

but i prefer this one:


Immunity and Annihalation makes Immunihalation...
TDBoy
21
Years of Service
User Offline
Joined: 29th Feb 2004
Location:
Posted: 27th Jun 2005 13:00
Sven, that works with characters and objects that only rotate on the Y axis. The spacecraft I'm refering to rotates on the X, Y, and X Axis'. I actually figured it out already, but thanks for the help.

The Life and Times of Semtex...

Login to post a reply

Server time is: 2025-05-22 19:33:31
Your offset time is: 2025-05-22 19:33:31