Sample Position API?

Hi all,

May I know if there is a similar API call in A* Pathfinding (AI Path script, or AStar Path) that samples position of a node (usually before sending an object off to that position)?

Example in Navmesh - https://docs.unity3d.com/540/Documentation/ScriptReference/NavMesh.SamplePosition.html

Thank you!
Vincent

there is a GraphNode node = AstarPath.active.GetNearest(POS).node; function

Thank you! will try it out… using Behavior Designer now and the Wander script inside requires sampling a position else the object will be walking into untraversable areas…

Great question about the A* Pathfinding API!