I don’t really need it for anything right now, but I’d imagine it could be useful for something.
It just occurred to me when I was playing around with it… would it be possible to detect if a body is being touched by the light from box2dlights?
I initially thought it might be easy by getting the distance of the rays of light and seeing if a Body X is within that amount of distance from the source of the light… but what if there’s another body in between Body X and the light source that is blocking the light source/preventing the rays from touching Body X?