| 350 | } |
| 351 | |
| 352 | bool Navigation::TestPath(const Vector3& startPosition, const Vector3& endPosition) |
| 353 | { |
| 354 | if (NavMeshes.IsEmpty()) |
| 355 | return false; |
| 356 | return NavMeshes.First()->TestPath(startPosition, endPosition); |
| 357 | } |
| 358 | |
| 359 | bool Navigation::FindClosestPoint(const Vector3& point, Vector3& result) |
| 360 | { |