RemoteTransform

Inherits: Spatial < Node < Object

Category: Core

Brief Description

RemoteTransform pushes its own Transform to another Spatial derived Node in the scene.

Properties

NodePathremote_path
boolupdate_position
boolupdate_rotation
boolupdate_scale
booluse_global_coordinates

Description

RemoteTransform pushes its own Transform to another Spatial 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.

Property Descriptions

Setterset_remote_node(value)
Getterget_remote_node()

The NodePath to the remote node, relative to the RemoteTransform’s position in the scene.


  • bool update_position
Setterset_update_position(value)
Getterget_update_position()

If true, the remote node’s position is updated. Default value: true.


  • bool update_rotation
Setterset_update_rotation(value)
Getterget_update_rotation()

If true, the remote node’s rotation is updated. Default value: true.


Setterset_update_scale(value)
Getterget_update_scale()

If true, the remote node’s scale is updated. Default value: true.


  • bool use_global_coordinates
Setterset_use_global_coordinates(value)
Getterget_use_global_coordinates()

If true, global coordinates are used. If false, local coordinates are used. Default value: true.