Fake car physics for one and all

Community Forums/Showcase/Fake car physics for one and all

Rob Farley(Posted 2007) [#1]
If you make use of it a bit of credit would be appreciated after all this doesn't just fall out of my computer and stuff.


I actually rewrote this from scratch and every time I rewrite stuff it's better and better! This is pretty cool actually even though I say so myself!

There's exaggerated drift on the back wheels so you get opposite lock going on which just looks cool. Exaggerated body roll, because it looks cool and Exaggerated steering lock because... well... it looks cool.

Who needs real physics when you can fake it eh!?

And yes... I know it looks like a brick on wheels.




Stevie G(Posted 2007) [#2]
Nice!


clownhunter(Posted 2007) [#3]
Rob, everything you do is so sweet! I can see making some type of racing game out of this fairly easy (but don't most blitz project look that way in the beginning?). Keep up the good work!


M2PLAY(Posted 2007) [#4]
Yes, simple and nice thxs Rob.


LineOf7s(Posted 2007) [#5]
Excellent stuff, again.

You lose points for not making the wheels Amiga balls though.

Just kidding.


t3K|Mac(Posted 2007) [#6]
Yeah, thats pretty cool stuff.


Danny(Posted 2007) [#7]
Quality-


Pete Carter(Posted 2007) [#8]
thanks again! excellent


Matty(Posted 2007) [#9]
Perfect for doing donuts in...


big10p(Posted 2007) [#10]
Pretty neat. How hard would it be to get the car to power slide when at full speed, instead of doing donuts? That would be cool.


Rob Farley(Posted 2007) [#11]
Stevie: Ta
Clown: It's all in the hips
M2Play: Ta
LineOf7s: ha! Ta
t3K|Mac: Ta
Danny: Ta
Pete: Ta
Matty: Indeed
big10p: It's got bias on the rear to slide the back out, simply even out the bias and it'll go sideways more that round and round.
MoveEntity f_axel,drift,0,0
MoveEntity r_axel,drift*1.3,0,0



hockings(Posted 2007) [#12]
Very impressive! I'm extremely jealous!


big10p(Posted 2007) [#13]
big10p: It's got bias on the rear to slide the back out, simply even out the bias and it'll go sideways more that round and round.
Ah, yes. Wicked. ;)


Grey Alien(Posted 2007) [#14]
bad more B3D code! demo... ;-)


Rob Farley(Posted 2007) [#15]
bad more B3D code! demo... ;-)
What the hell does that mean?


big10p(Posted 2007) [#16]
I think he means he wants an exe demo, coz he hasn't got B3D?


LarsG(Posted 2007) [#17]
I think he just wants a cookie... :)


puki(Posted 2007) [#18]
Not bad. This lot are easily pleased though.

A bit extreme though - in the way that it is like you are driving on a slippy surface.

A bit more traction is required.


Rob Farley(Posted 2007) [#19]
A bit more traction is required.
Simply reduce the drift.
drift = drift + (steer * speed) * -.01



Mustang(Posted 2007) [#20]
This lot are easily pleased though.


Yes we are, we don't non-functioning 10K£ game PCs for kicks ;P

Cool stuff, Rob!


Pete Carter(Posted 2007) [#21]
puki just feels sad when someone just gives code away and he don't have to use his catch phrase?

"Hand over your code and media!"


Pete Carter(Posted 2007) [#22]
this is the kind of thing that should be in tutorials once you have the basics. you could make a really fun little racer. just add collision a track and another car and your almost done.


Stevie G(Posted 2007) [#23]
This would be a great start to a community project.

I have some veeery old code which builds a track in code. The cars in this are very basic but the track building code could be easily ripped out.

Stevie




t3K|Mac(Posted 2007) [#24]
funracer with physics with huge jumps and gaps and multiplayer - would be a nice community project.


Moraldi(Posted 2007) [#25]
The art of programming!. With a few lines of code you manage to make me spend half an hour playing with your car.
Good job.


Steve Elliott(Posted 2007) [#26]
Nice one Rob (and Stevie).


steve_ancell(Posted 2007) [#27]
@ Rob Farley & Stevie G...

Cool work dudes... RESPECT ;).


AltanilConard(Posted 2007) [#28]
Awesome. I tried to convert it to bmax with minib3d, here's to code:


Couldn't get the textures working so I just placed some random cubes so you can see that the car is actually moving.
Really liked it, thanks :)


jfk EO-11110(Posted 2007) [#29]
Thanks, very useful.


Panno(Posted 2007) [#30]
i like it