Lua:Sensors
From BeamNG
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