Click or drag to resize

SpatialLookAtFromPosition Method

Moves the node to the specified position, and then rotates itself to point toward the target as per LookAt(Vector3, Vector3). Operations take place in global space.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void LookAtFromPosition(
	Vector3 position,
	Vector3 target,
	Vector3 up
)

Parameters

position
Type: GodotVector3

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

target
Type: GodotVector3

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

up
Type: GodotVector3

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

See Also