Changed link bmin/bmax to fraction along the edge. Fixed moveAlong to work with multiple links per edge. Use flat delta for path iterator.

This commit is contained in:
Mikko Mononen
2010-08-10 10:43:28 +00:00
parent 47a572d42e
commit 474a3ddc67
8 changed files with 3039 additions and 429 deletions

View File

@@ -133,6 +133,7 @@ static bool getSteerTarget(dtNavMesh* navMesh, const float* startPos, const floa
return false;
rcVcopy(steerPos, &steerPath[ns*3]);
steerPos[1] = startPos[1];
steerPosFlag = steerPathFlags[ns];
steerPosRef = steerPathPolys[ns];