Also, something else to add: position
is the offset in position relative to the parent node. If both nodes have the same parent, then using position
will work fine, but if they have different parents with different offsets, you probably want to use global_position
, as its the position relative to the world origin (0,0,0
).