Lua:Hydros1
From BeamNG
File location: lua\vehicle\hydros1.lua
Attributes
bool enableFFB = true number wheelFFBaxisdir = 1 -- The direction of the real wheel's FFB number wheelFFBForceCoef = 20000 -- The FFB Force coefficient number wheelFFBForceLimit = 2 -- The FFB steady force limits (in Newton) number lastFFBforce = 0 table hydros = {}
Member Functions
number toInputSpace (h, state)
nil updateGFX (dt)
nil update (dts)
nil init ()
nil reset ()
nil sendHydroStateToGUI ()
Public Interface
- updateGFX
- update
- init
- reset
- sendHydroStateToGUI