libgdxcollision-detectionbox2dlights

how I check collision with box2dlights in libgdx?


It is possible to detect when a body is under light? ( Collision with the light and a body )

How I check this with libgdx?

Sorry for my english...


Solution

  • It could be easy to implements with raycasting :

    Notes :