public class VehicleTuning
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
float |
frictionSlip
coefficient of friction between tyres and ground (0.8→realistic car,
10000→kart racer, default=10.5)
|
float |
maxSuspensionForce
maximum force exerted by each wheel's suspension (default=6000)
|
float |
maxSuspensionTravelCm
maximum suspension travel distance (in centimeters, default=500)
|
float |
suspensionCompression
suspension damping when compressed (0→no damping, default=0.83)
|
float |
suspensionDamping
suspension damping when expanded (0→no damping, default=0.88)
|
float |
suspensionStiffness
suspension stiffness constant (10→off-road buggy, 50→sports
car, 200→Formula-1 race car, default=5.88)
|
Constructor and Description |
---|
VehicleTuning() |
public float suspensionStiffness
public float suspensionCompression
public float suspensionDamping
public float maxSuspensionTravelCm
public float maxSuspensionForce
public float frictionSlip