Gamestudio Links
Zorro Links
Newest Posts
FXCM => AVA Trade Plugin???
by Martin_HH. 11/16/26 19:52
contractUpdate() is filtering if >2 rows
by mistery. 11/09/26 12:06
New Zorro version 3.15
by jcl. 11/09/26 09:24
Removing outliers from files
by jcl. 11/04/26 10:30
[MED] Import from FBX (2010) missing!!!
by rayp. 11/03/26 14:33
What are you working on?
by rayp. 11/02/26 13:57
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (AndrewAMD), 35,482 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rht, MaliceTheMaker, Haitao_Ren, JimSimons, julienp
19249 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