Help, How can I know the destination can be reached?

I used Source Mesh to do the navigation, i have a destination point, how can i know the destination can be reached?
i do not want to calculate the path, just want to know it can be reached.

Is there any function to decide the target point is out of the source mesh?

@aron_granberg help me!

if someone know, please help me! ths.


You can use PathUtilities.IsPathPossible.

@aron_granberg thank you for the reply!, NNConstraint.Default).node;

this function always returns a node, now i need the function is that the point is not on the navmesh, it will return null.

Can you help me to solve this problem.