Function
Moderate
VehicleWheeled:SetDifferentialSetup
Configures the type of Differential
Syntax
my_vehicle_wheeled:SetDifferentialSetup(differential_type, front_rear_split = 0.5)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
differential_type
|
DifferentialType | — | Type of Differential |
front_rear_split
optional
|
float | 0.5 |
Ratio of torque split between front and rear (less than 0.5 means more to front, bigger than 0.5 means more to rear, works only with 4W type) |