| 357 | } |
| 358 | |
| 359 | bool Navigation::FindClosestPoint(const Vector3& point, Vector3& result) |
| 360 | { |
| 361 | if (NavMeshes.IsEmpty()) |
| 362 | return false; |
| 363 | return NavMeshes.First()->FindClosestPoint(point, result); |
| 364 | } |
| 365 | |
| 366 | bool Navigation::FindRandomPoint(Vector3& result) |
| 367 | { |