AI moving through walls?


#1

Today I was working on a snake game, where the player must avoid any walls or snake tails to survive. On the third AI, I noticed that it was going through the walls and ignoring any of the tails, even though I had the same properties for that AI that i had on the other two. Any suggestions? I’m stuck on this one.


#2

third AI? you go throug walls, don’t you check collisions?


#3

When I came across this bug, it turned out that another snake was already filling the conditions. Maybe you’re in the same situation :blush: