W3cubDocs

/Godot 3.0

RemoteTransform

Inherits: Spatial < Node < Object

Category: Core

Brief Description

RemoteTransform leads the Transform of another Spatial derived Node in the scene.

Member Variables

  • NodePath remote_path - The NodePath to the remote node, relative to the RemoteTransform’s position in the scene.
  • bool update_position - If true the remote node’s position is tracked. Default value: true.
  • bool update_rotation - If true the remote node’s rotation is tracked. Default value: true.
  • bool update_scale - If true the remote node’s scale is tracked. Default value: true.
  • bool use_global_coordinates - If true global coordinates are used. If false local coordinates are used. Default value: true.

Description

RemoteTransform leads the Transform of another Spatial derived Node (called the remote node) in the scene.

It can be set to track another Node’s position, rotation and/or scale. It can update using either global or local coordinates.

© 2014–2018 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
http://docs.godotengine.org/en/3.0/classes/class_remotetransform.html