From ffbff5dcc96ad7388deed04e7d0c461d3c367566 Mon Sep 17 00:00:00 2001 From: axelrodR Date: Wed, 26 Feb 2014 22:48:27 +0200 Subject: [PATCH] changed the remarks and value of RAY_CAST_LIMIT_PROPORTIONS --- Detour/Include/DetourNavMesh.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Detour/Include/DetourNavMesh.h b/Detour/Include/DetourNavMesh.h index 19c2208..ae8cec9 100644 --- a/Detour/Include/DetourNavMesh.h +++ b/Detour/Include/DetourNavMesh.h @@ -132,8 +132,9 @@ enum dtRaycastOptions }; -/// used when #DT_FINDPATH_LIMIT_RAYCASTS is set to limit raycasting to a multiple of the character radius -static const float RAY_CAST_LIMIT_PROPORTIONS = 20.0f; +/// Limit raycasting during any angle pahfinding +/// The limit is given as a multiple of the character radius +static const float RAY_CAST_LIMIT_PROPORTIONS = 50.0f; /// Flags representing the type of a navigation mesh polygon. enum dtPolyTypes