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?

^ Ah, those functions didn't immediately jump at me as made to be used for this purpose when I was skimming through the list of methods. Thanks.

I wonder how straightforward these would be to implement. I would guess that if a light source is hitting another body, the points being occupied by that body would return true for pointAtShadow even though its surrounding points would return true for pointAtLight. idk. Will explore this later.

Heya.I pretend to use lights in my game, in the future.Is there anything i should be aware of?Like i need to use box2d physics or box2D??? ? Also, all my tiles, walls, and my player needs to be extended or implements anything ?

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org