Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Ayumi, 1 invisible), 584 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 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 | chip programmers | 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