I’m looking for a system to detect the intersection of a line with an object.
The best idea I could come up with was to imagine the line as a series of points and checking each point to see if it was inside of the shape. I think this would work as long as the points were spaced close enough. I figure the points would need to be closer than the width and height of the objects.