VE Lua Documentation

Press F to search!

isTriangleBroken

Definition


-- @/lua/vehicle/beamstate.lua:955

local function isTriangleBroken(triId)
  return collTriState[triId] == nil
end

Callers

@/lua/vehicle/bdebugImpl.lua
      if partsSelected[tri.partPath or v.config.partsTree.partPath] then
        local triBroken = obj:isTriangleBroken(i)
      if partsSelected[tri.partPath or v.config.partsTree.partPath] then
        if tri.triangleType ~= 2 and not obj:isTriangleBroken(i) then
          local frontCol = triTypesColors[TRI_NORMAL]