Hi, love the tool, thank you for making it!
I've been using a setup for collision detection from Libgdx (intersectSegments), and it gives me a vector that I can use for graphical feedback that something is being hit. Now using Spine, I want to be able to show a line that is intersecting with the bounding boxes that I've created, but I can't seem to find the code to do this. I have seen the examples that show how to detect a collision, but they show for all boxes, I need to know which box is being hit. I've tried some methods mentioned by Nate about 10 months ago, but it seems the code has changed some. I did manage to get a solution, by casting an attachment to a bounding box and then getting that turned into a polygonArray.
torsoBox = (BoundingBoxAttachment) skeleton.getAttachment("TorsoBox", "TorsoBox");
torsoPolyArray = skeletonBounds.getPolygon(torsoBox);
Using that with the Intersector class got me a true false if it's hit, but not an accurate distance and endpoint that I can use to display hits. But really I'd like to just ID a bounding box by name, check it's x and y values and width and height.