Lua:Sensors

Lua:Sensors

From BeamNG

Revision as of 04:43, 22 January 2015 by Nug700 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Contains Attributes and functions for controlling sensors.

File location: lua\vehicle\sensors.lua

Attributes

number gx = 0
number gy = 0
number gz = 0
number gx2 = 0
number gy2 = 0
number gz2 = 0
number gxMax = 0
number gxMin = 0
number gyMax = 0
number gyMin = 0
number gzMax = 0
number gzMin = 0

Member Functions

nil resetMinMax ()
nil reset ()
nil updateGFX (dt)
nil update ()

Public Interface

  • update
  • updateGFX
  • reset