Object creation order?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Footurist

In what order are objects created when you run a scene if you have multiple nodes with a hirarchy like this : RigidBody2D/PinJoint2D?
I’m trying to connect PinJoint2D’s at runtime, but they objects just stick together everytime, no matter the position of the pins…

:bust_in_silhouette: Reply From: rustyStriker

If I’m not mistaken it goes something like this:

  • First
    • Second
    • -Third
    • Fourth
    • Fifth

and so on( each - is child for the prev, like in the gdScript’s tabs)