Click or drag to resize

SpatialTranslate Method

Changes the node's position by the given offset Vector3.

Note that the translation offset is affected by the node's scale, so if scaled by e.g. (10, 1, 1), a translation by an offset of (2, 0, 0) would actually add 20 (2 * 10) to the X coordinate.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void Translate(
	Vector3 offset
)

Parameters

offset
Type: GodotVector3

[Missing <param name="offset"/> documentation for "M:Godot.Spatial.Translate(Godot.Vector3)"]

See Also