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 / How to make a car..

Author
Message
ace280
21
Years of Service
User Offline
Joined: 27th Oct 2003
Location:
Posted: 22nd Nov 2003 19:50
how do i make a car jump off a hill, like in need for speed games.

or...real life cars..

grr im angery, and im going to hit my face on a wall now!
JoelJ
21
Years of Service
User Offline
Joined: 8th Sep 2003
Location: UTAH
Posted: 22nd Nov 2003 20:17 Edited at: 22nd Nov 2003 20:17
read the binary moon tutorials
http://darkbasic.thegamecreators.com/?f=tutorials

Two words, moo.
ace280
21
Years of Service
User Offline
Joined: 27th Oct 2003
Location:
Posted: 23rd Nov 2003 02:45
..With car physics..

grr im angery, and im going to hit my face on a wall now!
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 23rd Nov 2003 11:59
You need to use a quadratic formula to work out the change in height against time (ie make a parabola).

for example, h = -t^2
where h is the height, and t is the time.

You could use it like:




Also, if you want the car to tilt when in the air, use this (it's just a modification of the above function):




Hope I Helped...


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy

Login to post a reply

Server time is: 2025-05-21 16:29:28
Your offset time is: 2025-05-21 16:29:28