setBeamLength
Definition
-- @/=[C]:-1
function setBeamLength(...)
Callers
@/lua/vehicle/beamstate.lua
cid = tonumber(cid) - 1
obj:setBeamLength(cid, beam[1])
if beam[2] == true then
@/lua/vehicle/controller/playerController.lua
for _, cid in ipairs(lockBeams) do
obj:setBeamLength(cid, obj:getBeamLength(cid))
obj:setBeamSpringDamp(cid, spring, damp, -1, -1)
@/lua/vehicle/controller/propAnimation/googlyEyes.lua
for cid, data in pairs(eyeBeamData) do
obj:setBeamLength(cid, data.defaultLength * sizeCoef)
end
for cid, data in pairs(eyeAttachmentData) do
obj:setBeamLength(cid, data.defaultLength * attachmentCoef)
end