I know how edit vehicle script. How I can change spring to anti-Spring?
TMStadium Tire-
datablock WheeledVehicleTire(TMStadiumTire)
{
// Tires act as springs and generate lateral and longitudinal
// forces to move the vehicle. These distortion/spring forces
// are what convert wheel angular velocity into forces that
// act on the rigid body.
shapeFile = "./TMStadiumWheel.dts";
mass = 10;
radius = 1;
staticFriction = 5;
kineticFriction = 5;
restitution = 0.5;
// Spring that generates lateral tire forces
lateralForce = 18000;
lateralDamping = 4000;
lateralRelaxation = 0.01;
// Spring that generates longitudinal tire forces
longitudinalForce = 14000;
longitudinalDamping = 2000;
longitudinalRelaxation = 0.01;
};
I have addded Spring change to anti-Spring.
TMStadium AntiSpring-
datablock WheeledVehicleSpring(TMStadiumSpring)
{
// Wheel suspension properties
length = 0.3; // Suspension travel
force = 3500; // Spring force
damping = 800; // Spring damping
antiSwayForce = 6; // Lateral anti-sway force
};It don't work. It keep drifting ( spin) too much and too bounce much!
reason I add max speed is 200 like thismaxWheelSpeed = 200;I really want the vehicle really faster (zoom) Pro Race car (F1) with anti spring and anti drifing too.
If someone help me explain to change it. Once this finish and locking.