lua.wetgenes.chipmunk.shape.query_point
item = shape:query_point(x,y)
Find the nearest point on the shape from the point at x,y.
returns a table with the following info or nil for no hit
it.shape -- the shape
it.point_x -- the point of contact (x)
it.point_y -- the point of contact (y)
it.distance -- the distance to the point of contact
it.gradient_x -- the normalised vector to collision (x)
it.gradient_y -- the normalised vector to collision (y)