Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Rensae |
Hi, I’m using the said function to detect if a body is inside the area when it’s spawned (for an AOE skill), but it returns an empty array
Collision layers and collision masks are set, so I don’t understand why it isn’t working at all
Code used for spawning the area :
Code of the area :
I did use the Debug : Visible collision layer to see if the radius was too small (and tried to change it to 9999 too) but it still doesn’t detect any bodies, even the body of the one summoning it if I put it on the same collision layer.
I also used it to make an arrow that follows the closest body in range, using the same function, and it works totally fine. I don’t see the issue and that’s bugging me.
Thanks in advance for every answer