I am writting a platformer game.
I have EnemyInstance and PlayerInstance. Enemy should begin to chase player when he sees him (LoS used).
I have set the following options
The wierd thing is that chasing becomes "1" only when i press UP in LoS distance of Enemy. If I didn't, the enemy cannot see me and stands still.
I was using Solids, and also used Custom obstacles - an in the image. It worked correctly only when I put "Custom" and set no custom borders for LoS. But this leads to Enemies can see through walls. ))
How can I fix it?