Added wheels rotation; config for model and offset requires fixing

This commit is contained in:
2023-05-22 21:14:00 +03:00
parent 9fb68001f1
commit aa596db8b7
2 changed files with 19 additions and 13 deletions

View File

@@ -8,7 +8,9 @@ local Vehicle, POWERTRAIN_COMPONENT = unpack(require('/koptilnya/engine_remaster
local WheelConfig = {
BrakePower = 800,
CustomWheel = {}
CustomWheel = {},
Offset = 90,
Model = 'models/sprops/trans/wheel_d/t_wheel25.mdl'
}
local FrontWheelsConfig = table.merge(table.copy(WheelConfig), { SteerLock = 10 })
local RearWheelsConfig = table.merge(table.copy(WheelConfig), { HandbrakePower = 2000 })