Collision functions in NTT

Simple
Advanced
Advanced
collision_line_point(x1, y1, x2, y2, obj, prec, notme, ?out_struct)​

Finds the closest instance going from xy1 to xy2, as per blog post.

However, this either populates or returns a new struct with x, y, and inst variables.

Source: collision_line_point

collision_line_width_first(x1, y1, x2, y2, obj, width, ?out_struct)​