Skip to content

Components

RemoteTransform

Copies this node's position, rotation or scale onto another node elsewhere in the scene, by name. For a camera target, a floor shadow, or a marker that must not inherit its subject's own rotation.

On this page

Add it

+ Add node → Remote Transform creates a node with it already on. Already have a node for it? Add component → RemoteTransformComponent.

From a script

A script on the same node writes these fields by name. RemoteTransformComponent is the name to pass.

rgs
set_text("RemoteTransformComponent", "target", "");
set_flag("RemoteTransformComponent", "position", true);
set_flag("RemoteTransformComponent", "rotation", false);
set_flag("RemoteTransformComponent", "scale", false);
set_point("RemoteTransformComponent", "offset", vec2(0.0, 0.0));
set_flag("RemoteTransformComponent", "enabled", true);

Fields

FieldScript nameKindDefaultWhat it does
TargettargettextemptyName of the node this transform is copied onto.
PositionpositioncheckboxonWhether to copy the position.
RotationrotationcheckboxoffWhether to copy the rotation.
ScalescalecheckboxoffWhether to copy the scale.
Offsetoffsettwo numbers (x, y)(0, 0)Added to the position after copying, in world units.
EnabledenabledcheckboxonWhether it is copying right now.