NavigationGetSimplePath Method |
Returns the path between two given points. Points are in local coordinate space. If optimize is true (the default), the agent properties associated with each NavigationMesh (radius, height, etc.) are considered in the path calculation, otherwise they are ignored.
Namespace: Godot
public Vector3[] GetSimplePath( Vector3 start, Vector3 end, bool optimize = true )
[Missing <param name="start"/> documentation for "M:Godot.Navigation.GetSimplePath(Godot.Vector3,Godot.Vector3,System.Boolean)"]
[Missing <param name="end"/> documentation for "M:Godot.Navigation.GetSimplePath(Godot.Vector3,Godot.Vector3,System.Boolean)"]
[Missing <param name="optimize"/> documentation for "M:Godot.Navigation.GetSimplePath(Godot.Vector3,Godot.Vector3,System.Boolean)"]
[Missing <returns> documentation for "M:Godot.Navigation.GetSimplePath(Godot.Vector3,Godot.Vector3,System.Boolean)"]