Lua:Hydros

Lua:Hydros

From BeamNG

Revision as of 03:15, 22 January 2015 by Nug700 (talk | contribs) (Created page with " File location: lua\vehicle\Hydros.lua == Attributes == <source lang="lua"> bool enableFFB = true number wheelFFBaxisdir = -1 -- The direction of the real wheel's FFB number...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


File location: lua\vehicle\Hydros.lua

Attributes

bool enableFFB = true
number wheelFFBaxisdir = -1 -- The direction of the real wheel's FFB
number wheelFFBForceCoef = 200 -- The FFB Force coefficient
number wheelFFBForceLimit = 16 -- The FFB steady force limits (in Newton)
number wheelFFBSmoothing = 100 -- FFB smoothing
number wheelFFBSmoothingHF = 50 -- High frequency FFB smoothing
number lastFFBforce = 0
table hydros = {}

Member Functions

number toInputSpace (h, state)
number FFquantum (f)
nil updateGFX (dt)
nil update (dts)
nil init ()
nil reset ()
nil sendHydroStateToGUI ()

Public Interface

  • updateGFX
  • update
  • init
  • reset
  • sendHydroStateToGUI