GE Lua Documentation

Press F to search!

getRopeVisual

Definition


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

Callers

@/lua/ge/extensions/core/ropeVisualTest.lua
  for _, entry in ipairs(allRopes) do
    local rope = getRopeVisual(entry.id)
    if rope then
      -- Update the position
      local rope = getRopeVisual(draggedNode.ropeId)
      if rope then
  if id then
    local rope = getRopeVisual(id)
    if rope then
  if id then
    local rope = getRopeVisual(id)
    if rope then
      -- Get mutable rope reference
      local rope = getRopeVisual(ropeId)
      if rope then
      -- Set up drag plane (use XY plane at node's Z height for simplicity)
      local rope = getRopeVisual(draggedNode.ropeId)
      if rope then
      if draggedNode then
        local rope = getRopeVisual(draggedNode.ropeId)
        if rope then
  for _, entry in ipairs(allRopes) do
    local rope = getRopeVisual(entry.id)
    if rope then
            -- Select the remaining rope and reset clone offset
            selectedRope = getRopeVisual(firstRopeId)
            cloneYOffset = 0  -- Reset clone offset
      local ropeId = entry.id
      local rope = getRopeVisual(ropeId)
      if rope and not ropeBasePositions[ropeId] then
    -- Select the first rope
    local firstRope = getRopeVisual(allRopes[1].id)
    if firstRope then
@/lua/common/jbeam/sections/vropes.lua
          if ropeId then
            local rope = getRopeVisual(ropeId)
            if rope then
@/lua/ge/extensions/util/vehicleRopeDebug.lua
  for _, ropeId in ipairs(vehicle.ropeIds) do
    local rope = getRopeVisual(ropeId)
    if rope then
  if debugDir then
    rope = getRopeVisual(rope.id)
    if rope.dirA:length() > 0.001 then
  for _, entry in ipairs(allRopes) do
    local rope = getRopeVisual(entry.id)
    if rope then
      -- Update the position
      local rope = getRopeVisual(draggedNode.ropeId)
      if rope then
  if id then
    local rope = getRopeVisual(id)
    if rope then
      -- Set up drag plane (use XY plane at node's Z height for simplicity)
      local rope = getRopeVisual(draggedNode.ropeId)
      if rope then
      if draggedNode then
        local rope = getRopeVisual(draggedNode.ropeId)
        if rope then
  for _, entry in ipairs(allRopes) do
    local rope = getRopeVisual(entry.id)
    if rope then
    if #allRopes > 0 and not selectedRope then
      selectedRope = getRopeVisual(allRopes[1].id)
      updateUIPtrs()