Hello folks!
Actually I'm still on my 2d top view game.
I'm using raycasting in my AI to check if the player is nearby.
The problem is my AI can't detect my player is there is a barrel in between. We will agree a barrel (or gameobject of this type) should not be very tall and should not obstruct the AI view.
My question is the following: is there a way to raycast through specific gameobject or to ignore them?
Thanks in advance and thanks again for all the helps you all already provide