Lua:Hydros1

Lua:Hydros1

From BeamNG

Revision as of 03:26, 22 January 2015 by Nug700 (talk | contribs) (Created page with " File location: lua\vehicle\hydros1.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\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