please, help with car physics..

Blitz3D Forums/Blitz3D Programming/please, help with car physics..

Santiworld(Posted 2008) [#1]
hi... i ask for help, becouse my brain gonna explote...

i want make a simple, but nice semyrealistic car physics...

the problem i have, i don't understand the concept....

i have, body of car, and 4 whells...

the whells must be child of the body? or reverse?

in blitz, how i do that?...
if i do something to detect when the whells touch the ground, i can send information to the suspenciond, and next calculate, a new car align?...

please... someone help me :)

and example or something....

the example of mak, drivers, is the correct way?
becouse work, but is poor on physics...

i don't want use a library...

thanks..


Dabhand(Posted 2008) [#2]
If your using Blitz3D, I recall there is a car demo in the examples folder.

And before anyone else mentions, you should of posted this in the appropriate forum, this may of helped you get an answer quicker... But I guess a mod will move it anyway.


markcw(Posted 2008) [#3]
You need a physics engine. Tokamak or JV-ODE are the popular ones.


Rob Farley(Posted 2008) [#4]
http://www.blitzbasic.com/Community/posts.php?topic=72826


Blitzplotter(Posted 2008) [#5]
@ Rob, thanks for that link theres some interesting code there.

@Latatoy, I can second the recommendation for JV-ODE. Had some great fun with this in 3D, brilliant value for money and there is some great how-to info within the threads:

http://www.blitzmax.com/Community/posts.php?topic=72220


Santiworld(Posted 2008) [#6]
thanks...

the car examples.. only works the mak/driver... becouse adapted to terrein mesh with four wheels collision..

but when i try the demo of JV-ODE, thats is i want...

i give up with the idea to make my own physics car with suspencion and etc.. without use physics engines...


in my search for info, i find this good links about car physics..


http://www.racer.nl/reference/carphys.htm