Lua:Sensors
From BeamNG
Contains Attributes and functions for controlling sensors.
File location: lua\vehicle\sensors.lua
Attributes
1 2 3 4 5 6 7 8 9 10 11 12 | 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
1 | nil resetMinMax () |
1 | nil reset () |
1 | nil updateGFX (dt) |
1 | nil update () |
Public Interface
- update
- updateGFX
- reset