mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 16:38:42 +01:00
Core/Movement: merged a recast navigation update from master
This commit is contained in:
@@ -100,7 +100,7 @@ inline float dtQueryFilter::getCost(const float* pa, const float* pb,
|
||||
}
|
||||
#endif
|
||||
|
||||
static const float H_SCALE = 2.0f; // Search heuristic scale.
|
||||
static const float H_SCALE = 0.99f; // Search heuristic scale.
|
||||
|
||||
|
||||
dtNavMeshQuery* dtAllocNavMeshQuery()
|
||||
|
||||
@@ -71,10 +71,6 @@ index 75af102..a263106 100644
|
||||
@@ -100,7 +100,7 @@ inline float dtQueryFilter::getCost(const float* pa, const float* pb,
|
||||
}
|
||||
#endif
|
||||
|
||||
-static const float H_SCALE = 0.999f; // Search heuristic scale.
|
||||
+static const float H_SCALE = 2.0f; // Search heuristic scale.
|
||||
|
||||
|
||||
dtNavMeshQuery* dtAllocNavMeshQuery()
|
||||
@@ -3623,7 +3623,7 @@ dtStatus dtNavMeshQuery::findDistanceToWall(dtPolyRef startRef, const float* cen
|
||||
|
||||
Reference in New Issue
Block a user