GE Lua Documentation

Press F to search!

testRaycasting

Definition


-- @/lua/ge/ge_utils.lua:1323
function testRaycasting(dtReal)
  castRayTest = castRayTest + dtReal

  local a = vec3(4 + math.sin(castRayTest) * 3,-2+math.cos(castRayTest) * 3,10)
  local b = vec3(4 + math.cos(castRayTest) * 3,-2+math.sin(castRayTest) * 3,-10)
  castRayDebug(a, b, false, false)
end

Callers