SHARE
TWEET

Untitled

a guest May 19th, 2017 35 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. r1 = Ray.new(Vector3.new(1,2,3), Vector3.new(1,2,3))
  2. for x = -1, 8, 3 do
  3.     for y = 0, 9, 3 do
  4.         for z = 1, 10, 3 do
  5.             point = Vector3.new(x, y, z)
  6.             print(point .. "     " .. r1.ClosestPoint(r1, point)) -- I *think* this is right. It's been a while since I used Lua. =P
  7.         end
  8.     end
  9. end
RAW Paste Data
Top