VE Lua Documentation

Press F to search!

getBeamForce

Definition


-- @/=[C]:-1
function getBeamForce(...)

Callers

@/lua/ge/extensions/editor/vehicleEditor/liveEditor/veJBeamPicker.lua
  {name = "Speed",            enabled = im.BoolPtr(false),    units = "m/s",    color = rainbowColor(8, 3, 1),   data = function(id) getVELuaBeamData(id, "speed", "obj:getBeamVelocity(" .. id .. ")") return M.beamDataFromVELua[id].speed end, plotData = {}},
  {name = "Force",            enabled = im.BoolPtr(false),    units = "N",      color = rainbowColor(8, 4, 1),   data = function(id) getVELuaBeamData(id, "force", "obj:getBeamForce(" .. id .. ")") return M.beamDataFromVELua[id].force end, plotData = {}},
  {name = "Stress",           enabled = im.BoolPtr(false),    units = "N",      color = rainbowColor(8, 5, 1),   data = function(id) getVELuaBeamData(id, "stress", "(select(1,obj:getBeamStressDamp(" .. id .. ")))") return M.beamDataFromVELua[id].stress end, plotData = {}},