Welcome to the Godot Reference Fork and the Godot Proposals Fork alternatives. Why?

RemoteTransform

0 0 vote
Article Rating

Inherits: Spatial < Node < Object

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

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.

Methods

voidforce_update_cache ( )

Property Descriptions

DefaultNodePath("")
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
Defaulttrue
Setterset_update_position(value)
Getterget_update_position()

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


  • bool update_rotation
Defaulttrue
Setterset_update_rotation(value)
Getterget_update_rotation()

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


Defaulttrue
Setterset_update_scale(value)
Getterget_update_scale()

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


  • bool use_global_coordinates
Defaulttrue
Setterset_use_global_coordinates(value)
Getterget_use_global_coordinates()

If true, global coordinates are used. If false, local coordinates are used.

Method Descriptions

  • void force_update_cache ( )

RemoteTransform caches the remote node. It may not notice if the remote node disappears; force_update_cache forces it to update the cache again.

Doc ID missing

Disclaimer: This page has been automaticaly and directly extracted from the official Godot Docs website, the 1970-01-01 at 00:00:00. It’s the English Stable version because it’s what most Godot users should use. The Copyright owners are Juan Linietsky, Ariel Manzur and the Godot community. CC-BY 3.0. Thanks for your patience and generosity.

Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x