dtNavMeshQuery::findStraightPath

Finds the straight path from the start to the end position within the polygon corridor.