types
This commit is contained in:
@@ -8,11 +8,10 @@ local Differential = require('/koptilnya/engine_remastered/powertrain/differenti
|
||||
|
||||
-- Michelin Pilot Sport 4S (High-Performance Road Tire)
|
||||
local WheelConfig = {
|
||||
DEBUG = true,
|
||||
DEBUG = false,
|
||||
BrakePower = 1200,
|
||||
CustomWheel = {
|
||||
Mass = 30,
|
||||
|
||||
LateralFrictionPreset = {
|
||||
B = 12.0,
|
||||
C = 1.3,
|
||||
@@ -49,16 +48,24 @@ local FrontWheelsConfig = table.merge(table.copy(WheelConfig), {
|
||||
})
|
||||
|
||||
local RearWheelsConfig = table.merge(table.copy(WheelConfig), {
|
||||
BrakePower = 600,
|
||||
BrakePower = 0,
|
||||
HandbrakePower = 2200,
|
||||
CustomWheel = {
|
||||
CamberAngle = -2,
|
||||
LongitudinalFrictionPreset = nil,
|
||||
LateralFrictionPreset = nil,
|
||||
-- LongitudinalFrictionPreset = {
|
||||
-- B = 0.1,
|
||||
-- C = 1,
|
||||
-- D = 0.9,
|
||||
-- E = 0.9,
|
||||
-- },
|
||||
-- LateralFrictionPreset = {
|
||||
-- B = 0.1,
|
||||
-- C = 1,
|
||||
-- D = 0.9,
|
||||
-- E = 0.9,
|
||||
-- },
|
||||
},
|
||||
})
|
||||
|
||||
@@ -201,7 +208,7 @@ Vehicle:new({
|
||||
},
|
||||
{
|
||||
Name = 'AxleFront',
|
||||
-- Input = 'Axle',
|
||||
Input = 'Axle',
|
||||
Type = POWERTRAIN_COMPONENT.Differential,
|
||||
Config = {
|
||||
Type = Differential.TYPES.Open,
|
||||
@@ -230,7 +237,7 @@ Vehicle:new({
|
||||
},
|
||||
{
|
||||
Name = 'AxleBack',
|
||||
Input = 'Gearbox',
|
||||
Input = 'Axle',
|
||||
Type = POWERTRAIN_COMPONENT.Differential,
|
||||
Config = {
|
||||
Type = Differential.TYPES.Open,
|
||||
@@ -239,17 +246,17 @@ Vehicle:new({
|
||||
BiasAB = 0.5,
|
||||
CoastRamp = 1,
|
||||
PowerRamp = 1,
|
||||
Stiffness = 0.9,
|
||||
Stiffness = 1,
|
||||
SlipTorque = 1000,
|
||||
ToeAngle = 0.5,
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = 'Axle',
|
||||
-- Input = 'Gearbox',
|
||||
Input = 'Gearbox',
|
||||
Type = POWERTRAIN_COMPONENT.Differential,
|
||||
Config = {
|
||||
Type = Differential.TYPES.Open,
|
||||
Type = Differential.TYPES.Locking,
|
||||
FinalDrive = 1,
|
||||
Inertia = 0.01,
|
||||
BiasAB = 0.5,
|
||||
|
||||
Reference in New Issue
Block a user