All pastes #545281 Raw Edit

Untitled

public text v1 · immutable
·published 2007-06-06 19:22 UTC
rendered paste body
function ihl.debugGetViewTrace2(pl)
   local tracedata = {}
   tracedata.start = pl:GetPos()
   tracedata.endpos = tracedata.start + Vector(0, 0, -8000)
   local trace = util.TraceLine(tracedata) 

   ihls.svDebugLog(pl, "trace=" .. tostring(traceRes.HitPos))
end