Lua:Bullettime

Lua:Bullettime

From BeamNG

A wrapper class to control bullet physics.

File location: lua\vehicle\bullettime.lua

Attributes

number wantedSimulationSpeed = 100
number simulationSpeed = 100
number bulletMode = 0 -- 1 = auto, with timer, 0 = disabled, 2 = manual
number maxBulletTime = 10
number selectionSlot  -- 5

Member Functions

nil update (dt)
nil reportSpeed ()
nil selectPreset (preset)
nil set (val)
nil slowMotion (slowdownTime, slowDownPercent)
nil reset () -- function body commented out.
nil guiUpdate ()
nil guiUpdate ()
nil onDeserialized ()

Public Interface

  • update
  • reset
  • set
  • selectPreset
  • slowMotion
  • guiUpdate
  • onDeserialized