I want to get a list of Area2D
s overlapping a certain area/shape immediately without waiting for a physics update or the next frame. I want to do this purely in GDScript.
What I tried is instancing an Area2D
scene which then triggers signals. It is then removed in the next frame. The problem is that I'm not quite sure when these triggers will fire. I want to know exactly when these triggers happen since they modify the game state. I don't want my aoe damage to inflict damage the next frame instead of immediately.