#Enemy doesnt collide with walls
5 messages · Page 1 of 1 (latest)
if your slime is a characterbody2d, make sure to add a collisionshape2d and make sure player and slime collision layers are detecting the collision layer of ground objects.
According to the tutorial, they are simply Node2D.
Did you modify the raycasts' collision mask? It should look like this :
Also, the raycasts need to have their target arrow set just like the tutorial -- one looking left, another looking right, like this (I made the slime looks transparent for visibility's sake) :
Thanks a lot guys