Changed static navmesh samples to use new navmesh. Renamed Stat samples to Solo. Added moveAlongPathCorridor() to dtNavMesh.

This commit is contained in:
Mikko Mononen
2009-12-03 13:16:25 +00:00
parent d142754ad5
commit a47e3436c9
21 changed files with 4450 additions and 7055 deletions

View File

@@ -538,7 +538,7 @@ bool Sample_DynMesh::handleBuild()
printf("Could not allocate navmehs\n");
return false;
}
if (!m_navMesh->init(m_bmin, m_tileSize*m_cellSize, m_agentMaxClimb*m_cellHeight, 512, 512, 2048))
if (!m_navMesh->init(m_bmin, m_tileSize*m_cellSize, m_tileSize*m_cellSize, m_agentMaxClimb*m_cellHeight, 512, 512, 2048))
{
printf("Could not init navmesh\n");
return false;