0 Üye ve 1 Ziyaretçi konuyu incelemekte.
function setHandlingLine( setHandlingFunction, getHandlingFunction, target, handlingLine ) for i=1,#props,2 do local name = props[i] local idx = props[i+1] local value = handlingLine[idx] if idx==32 or idx==33 then -- modelFlags/handlingFlags value = tonumber("0x"..string.sub(tostring(value),-8)) end if not willCauseWarnings(getHandlingFunction,target,name,value) then if not setHandlingFunction( target, name, value ) then outputDebug("Problem with setHandlingFunction "..tostring(target).." "..tostring(name).." "..tostring(inValue)) end end end setHandlingFunction( target, "centerOfMass", { handlingLine[5], handlingLine[6], handlingLine[7] } )end