Light2D Going through tiles

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

I’ve been having an issue with Light 2D not lighting the area correctly. ← Link to gif of what it looks like, as well as three other images of the scenes

So I have a player with a light 2D as it’s child, and an auto tileset that has all its occlusions set, but for some reason the light shines on just the wall. Has this happened to anyone else, and if so, how would one fix this?

:bust_in_silhouette: Reply From: Andrea

not sure that’s what you are looking for, but the light2D has a range_height parameter, try increasing it to >0

:bust_in_silhouette: Reply From: Dead_lucky_32

I figured it out, the issue was that I moved the light 2D, which made it’s shadow a bit weird. So instead I moved it by its offset, and that seems to fix the issue I was having