- 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:
Mikko Mononen
2012-05-31 09:07:54 +00:00
parent 6aa8b1d989
commit 00edec6ffb
6 changed files with 505 additions and 530 deletions
+3 -1
View File
@@ -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.