mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-11-18 13:56:00 +00:00
- dtCrowd API Changed!
- finalizeSlicedFindPathPartial() returns best if no existing match found - refactored crowd move requests - removed adjustMoveTarget() - added requestMoveVelocity() and resetMoveTarget() - improved path replanning robustness - added move visualization to crowd tool
This commit is contained in:
@@ -1491,7 +1491,9 @@ dtStatus dtNavMeshQuery::finalizeSlicedFindPathPartial(const dtPolyRef* existing
|
||||
|
||||
if (!node)
|
||||
{
|
||||
return DT_FAILURE;
|
||||
m_query.status |= DT_PARTIAL_RESULT;
|
||||
dtAssert(m_query.lastBestNode);
|
||||
node = m_query.lastBestNode;
|
||||
}
|
||||
|
||||
// Reverse the path.
|
||||
|
||||
Reference in New Issue
Block a user