Godot Version
4.3
Question
I am simply trying to have the child node centered onto the parent node. This is extremely basic stuff in other languages/guis, but the godot editor doesn’t seem to run with standards.
In other languages you can simply set the child object’s location to ‘center’. Easy peasy.
Easy to replicate:
- Create a Node2D.
- Plop anything on the node… a panel, label, button… doesn’t matter.
- … profit?
I figured I’d use anchors… but anchors in Godot means something different than other tools. Normally, you would set the anchors on each side of the child object ± pixels or percentages. It’s a bit of a way to work around hackney positioning. But godot’s anchors are… based on object’s pieces and not the normal relativity to the parent object.
Has any one found the secret magic for this basic situation in Godot?