RemoteTransform2D pushes its own Transform2D to another Node2D derived node (called the remote node) in the scene.
It can be set to update another node's position, rotation and/or scale. It can use either global or local coordinates.
The NodePath to the remote node, relative to the RemoteTransform2D's position in the scene.
If true
, the remote node's position is updated.
If true
, the remote node's rotation is updated.
If true
, the remote node's scale is updated.
If true
, global coordinates are used. If false
, local coordinates are used.
RemoteTransform2D caches the remote node. It may not notice if the remote node disappears; force_update_cache() forces it to update the cache again.