AStar2DGetPointPath Method |
Returns an array with the points that are in the path found by AStar2D between the given points. The array is ordered from the starting point to the ending point of the path.
Note: This method is not thread-safe. If called from a Thread, it will return an empty Vector2 and will print an error message.
Namespace: Godot
public Vector2[] GetPointPath( int fromId, int toId )
[Missing <param name="fromId"/> documentation for "M:Godot.AStar2D.GetPointPath(System.Int32,System.Int32)"]
[Missing <param name="toId"/> documentation for "M:Godot.AStar2D.GetPointPath(System.Int32,System.Int32)"]
[Missing <returns> documentation for "M:Godot.AStar2D.GetPointPath(System.Int32,System.Int32)"]