Gamestudio Links
Zorro Links
Newest Posts
Accepting new programming clients
by AndrewAMD. 08/06/26 21:25
Pause button for evaluation shell?
by AndrewAMD. 08/06/26 05:33
phantom() not defined in indicators.c
by AndrewAMD. 08/05/26 17:49
Fun Arcade Car Physics (nfs style)
by Ezzett. 08/02/26 21:11
ZorroGPT
by TipmyPip. 07/31/26 22:56
Wolfram Mathematica with Zorro
by TipmyPip. 07/30/26 02:07
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (TipmyPip), 1,402 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
riggi89, shuhari, KD1990, Student_64151, Koti
19222 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
[Newton] NewtonVehicleTyre #114221
02/28/07 01:48
02/28/07 01:48
Joined: Jul 2005
Posts: 72
Pr0gr4mm3r Offline OP
Junior Member
Pr0gr4mm3r  Offline OP
Junior Member

Joined: Jul 2005
Posts: 72
How to reduce the speed of the car? the acceleration this very fast one. I am using the action, NewtonVehicleTyre for the wheels.

please help!

Last edited by Pr0gr4mm3r; 02/28/07 01:49.

my site of 3d gamestudio: http://byteseartes.sitesled.com
Re: [Newton] NewtonVehicleTyre [Re: Pr0gr4mm3r] #114222
02/28/07 22:20
02/28/07 22:20
Joined: Mar 2005
Posts: 514
Brazil
Carloos Offline
User
Carloos  Offline
User

Joined: Mar 2005
Posts: 514
Brazil
To reduce the car speed, try to lower the carEngineTorque. You must do it accordingly.

To make tests , you can use this in your player control loop :

Code:

if(key_s) // The s key will work as the "break"
{
if (p_vehicle.CarEngineTorque > 0 ) // Use this or you will end in reverse..
{
If (P_vehicle.CarEngineTorque - (10*time) > 0)
{
p_vehicle.carEngineTorque -= ( 10 * time);
}
Else
{
p_vehicle.CarEngineTorque = 0;
}
}
}



The value 10 is just an example. In my use of force with newton, I need to make it 75 * time to get a nice result.

Re: [Newton] NewtonVehicleTyre [Re: Carloos] #114223
03/01/07 13:47
03/01/07 13:47
Joined: Jul 2005
Posts: 72
Pr0gr4mm3r Offline OP
Junior Member
Pr0gr4mm3r  Offline OP
Junior Member

Joined: Jul 2005
Posts: 72
thank you friend, I will test.


my site of 3d gamestudio: http://byteseartes.sitesled.com
Re: [Newton] NewtonVehicleTyre [Re: Pr0gr4mm3r] #114224
03/01/07 15:15
03/01/07 15:15
Joined: Mar 2005
Posts: 514
Brazil
Carloos Offline
User
Carloos  Offline
User

Joined: Mar 2005
Posts: 514
Brazil
You are wellcome ! ( welcome ? ) whatever !

De nada


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