REVBENT Every node class that inherits its properties from either Node2D
or Node3D
class can be positioned, rotated and scaled in 2d or 3d space. Each such node represents a coordinate space defined by its transformation matrix. The matrix is contained within node's transform
property.
Coordinates spaces are cumulative, meaning that child's coordinate space is relative to its parent coordinate space, which is again relative to its parent coordinate space and so on all the way up to the top of the scene tree.
This is very useful as it lets you do precisely the type of thing you tried to do here. You positioned the marker nodes relative to player node. And when you move the player node, the marker nodes are expected to follow because their position is always relative to the player node. Similarly, the player node can be a child of a level node. When you scroll the level node the player will be scrolled as well because its position is relative to the level node, etc.
Unless you break this chain of coordinate spaces by inserting a node that does not feature a coordinate space.