dtNavMeshQuery::findPath

Finds a path from the start polygon to the end polygon.