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.

Code Snippets / space flight using real phsyics..

Author
Message
Mr_Insane
22
Years of Service
User Offline
Joined: 14th Nov 2002
Location: United States
Posted: 23rd Dec 2002 10:27
heres the source code I used for trying to make the ship move besides using the MOVE command.. the problem is, the ship it not movie where its supposed to be. so if I turn my ship 180 degrees(facing me), its still moving away from me rather than moving towards me. and also the ship moves a billion different directions rather than its supposed to go when its facing that way. This is the modified version of the maths phsyics example that came with DB.

ChronicFear
21
Years of Service
User Offline
Joined: 15th Dec 2002
Location:
Posted: 23rd Dec 2002 10:58
Where is the physics in that? I made a flight sim, thats about 100+ lines, and, I dont think I used any physics unless you want to include pitch roll and yaw. I need to figure out how to do a landing script though :-(

Your suffering cause of me its divine
-Korn-
Mr_Insane
22
Years of Service
User Offline
Joined: 14th Nov 2002
Location: United States
Posted: 23rd Dec 2002 17:49
Well this is for space though. I never botherd making one for the air phsyics.
ChronicFear
21
Years of Service
User Offline
Joined: 15th Dec 2002
Location:
Posted: 23rd Dec 2002 21:51
Oh, ok. I could probably think up something for that. What kind of DarkBASIC do you have. I have pro

Your suffering cause of me its divine
-Korn-
Mr_Insane
22
Years of Service
User Offline
Joined: 14th Nov 2002
Location: United States
Posted: 24th Dec 2002 00:47
I have DBV1.
The Darthster
22
Years of Service
User Offline
Joined: 25th Sep 2002
Location: United Kingdom
Posted: 24th Dec 2002 01:13
Here's a nice spaceflight thing I made:



Left click to thrust, middle click to fire, wasd to strafe.
Mr_Insane
22
Years of Service
User Offline
Joined: 14th Nov 2002
Location: United States
Posted: 31st Dec 2002 18:49
aah cool.. Thanks.. I'll save this for later use.

Login to post a reply

Server time is: 2024-11-24 07:53:11
Your offset time is: 2024-11-24 07:53:11