Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (Dico), 16,767 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Another question about car simulation #23998
03/04/04 00:52
03/04/04 00:52
Joined: Feb 2003
Posts: 20
mltdesp Offline OP
Newbie
mltdesp  Offline OP
Newbie

Joined: Feb 2003
Posts: 20
Hi

I've got another question about car simulation using a physics engine (GameStudio's or Newton, it doesn't matter).

How it could be a good car simulation using manual gears? Can you help me with that?

Re: Another question about car simulation [Re: mltdesp] #23999
03/05/04 10:30
03/05/04 10:30
Joined: Sep 2000
Posts: 300
Ohio, USA
V
vrkaya Offline
Senior Member
vrkaya  Offline
Senior Member
V

Joined: Sep 2000
Posts: 300
Ohio, USA
I added some code to the arcadeCar demo for the Newton Game Physics. Ventilator made the demo.

You basically have to adjust torque and max_speed - at least that's what I did to facilitate "tap brakes", "regular brakes" and more realistic acceleraton features. Take a look at it from the link below - it may answer some of your question. Funny, but I was just thinking today of doing something similar and making an Indy car model. If you code it, I would try something like using a keypress to simulate gears, and for each gear establish a minimum/maximum torque and a speed range.

The code I changed is pasted in the thread:

car physics thread

Regards, Ron


Moderated by  HeelX, Spirit 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1