Hi ! I'm trying to make an Area2D that when the player is reaching it, it will bounce on. the goal is to put it on certain walls so my player will switch direction when it touches the wall.
The problem that I have is that if unless i put the area 2d at a good distance from the wall, the player will not detect it, like it this:
This will work:
This will not work:
Someone knows why?