Advertisement
Guest User

Untitled

a guest
Sep 24th, 2018
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.31 KB | None | 0 0
  1.    
  2.     function Physics.HitCheck( point, radius, forward, dot )
  3.        
  4.         if not ( point.x and point.y and point.z ) then
  5.             error( "hey!" );
  6.         end
  7.    
  8.         local objects = Collection:new( minetest:get_objects_inside_radius( point, radius ) );
  9.         -- Runtime error: Invalid position coordinate'x' (expected number got nil)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement