LightOccluder2D's on TileSets

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By tproper

I have a light that is on the parent node of my main scene which has a script to set it’s position on top of the player every frame.

I have a tileset with grass and walls. On the walls I placed a LightOccluder2D so that the player light will interact with the wall’s LightOccluder2Ds.

But it doesn’t appear to be working, the light just lights up the wall like everything else. I was wanting the light to break on the walls.

They are both on the same LightMask as well…

Please help.

You may need to alter the Z index of these things.

Diet Estus | 2018-05-12 01:59