Has anyone got an example of a function similar to this?

Guys,

I am hoping to create a function that will return true or false depending upon if a path is valid and can be found between two Vector3 values. Something like:

IsPathValid(Vector3 point1, Vector3 point2)

Does anyone know how I can achieve this or have an example of something I can use?

Thanks for any help

Hi

Yep, there is.

See http://arongranberg.com/astar/docs/class_pathfinding_1_1_path_utilities.php#a25736e29fdb41bc3f1d57abeaf2c8eef