Page 1 of 1

bug:Walls dont block the light to the Actors

Posted: Thu Feb 01, 2007 2:10 pm
by Veleran
I was using the flashlight as the only light sourse in the level,so that as the player moves,anything that is behind walls,and the player light cant reach,should be hidden by darkness.

But,the pawns and other actors that are behind the walls,are lit according to how far they are from the light-no matter whether the light is blocked by the walls before it reaches them or not.

I had set it to player view 2-which is isometric,with an angle of 89,top-down view,with a few walls 75 units high.

It seems the actors receive light from dynamic lights whether a wall blocks the light-or not.

P.S. The pawn ambient and fillcolor was 0 0 0,and ambientlightfromfloor = true.

Any hope that this bug will be fixed?

Posted: Thu Feb 01, 2007 2:58 pm
by Jay
I don't know if this solves it, but i rember that DSpotLights had a flag called 'CastShadows' that controlled if it casted shadows or not. Could you try a DSpotLight with CastShadows on, so that we know if this is a general problem or if it only happens with the flashlight.

Posted: Fri Feb 02, 2007 10:55 am
by Veleran
The static lights dont do this, the dynamic lights affect the actors even behind walls.