Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | GrandNecro |
I’m trying to implement a system for avoiding spawn and teleport collision. Is there a function that allows me to “look” at a global position and get a list of all the CollisionShape2D overlayed in that position?
I’d like to look at those position ahead of time to determine whether to teleport my player there or the move on to the next position.
I’m currently using has_overlapping_areas() but it’s not working very well because it requires me to teleport my player to the position in order to check the area.