SpatialLookAt Method |
Rotates itself so that the local -Z axis points towards the target position.
The transform will first be rotated around the given up vector, and then fully aligned to the target by a further rotation around an axis perpendicular to both the target and up vectors.
Operations take place in global space.
Namespace: Godot
public void LookAt( Vector3 target, Vector3 up )
[Missing <param name="target"/> documentation for "M:Godot.Spatial.LookAt(Godot.Vector3,Godot.Vector3)"]
[Missing <param name="up"/> documentation for "M:Godot.Spatial.LookAt(Godot.Vector3,Godot.Vector3)"]