Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- r1 = Ray.new(Vector3.new(1,2,3), Vector3.new(1,2,3))
- for x = -1, 8, 3 do
- for y = 0, 9, 3 do
- for z = 1, 10, 3 do
- point = Vector3.new(x, y, z)
- print(point .. " " .. r1.ClosestPoint(r1, point)) -- I *think* this is right. It's been a while since I used Lua. =P
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement