In my project I have a spell attack that uses an Area2D as the root node. I can detect when it enters kinematic bodies without problem so it can dissipate and affect players/enemies.
However, I have a TileMap that I am using to draw levels with floor and walls. The player and enemies collide with the walls, but I am struggling to find out how to make the spell dissipate upon touching the walls. I don't want them to be able to go through walls.
Can I do this, or do I have to make the attacks use a kinematic body? The only problem with that is they physically interact with other bodies they collide with when I don't want them to.