#How to make sure area2D's have run before rest of the code

1 messages · Page 1 of 1 (latest)

snow lagoon
#

im creating some objects on ready and want to move them around by checking area2d collisions, but (maybe because the collision areas are children of the objects) the areaentered signals are firing after the objects are done, is there a way to fix this?

Second image shows the enters going after the children get added, ideally the enters for the current object would be fired and Then the child gets added.

#

the helpfully unnamed node2d generates a bunch of nodes, and then those nodes generate the line2ds and that area2d, i want the area2d to be able to check against all the other currently instantiated areas

#

id prefer to not have to await a physics frame if not necisairy