I am creating an RP game and was doing some tests on the graphics of the game to improve the look of the game, while creating a streetlight model I noticed this flaw in the light projected by SurfaceLight which, as you can see in the image, passes through the obstacle. So I have no idea how to get SurfaceLight to cast shadows realistically.
photo:
P.S The shadow property of SurfaceLight is active