Is it possible to somehow do a circle (or rect) object collision detection with a drawn line object with a strokeWidth somehow?
The only thing I can come up with is to draw rectangles, and then rotating them, placing them above the lines and the do the check… but this seems very complicated to me for such a “simple” thing. Can’t this be done more easily?
Any help welcome!