Click or drag to resize

NavigationGetClosestPointNormal Method

Returns the surface normal at the navigation point closest to the point given. Useful for rotating a navigation agent according to the navigation mesh it moves on.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Vector3 GetClosestPointNormal(
	Vector3 toPoint
)

Parameters

toPoint
Type: GodotVector3

[Missing <param name="toPoint"/> documentation for "M:Godot.Navigation.GetClosestPointNormal(Godot.Vector3)"]

Return Value

Type: Vector3

[Missing <returns> documentation for "M:Godot.Navigation.GetClosestPointNormal(Godot.Vector3)"]

See Also