mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-10-06 08:55:43 +00:00
Changed static navmesh samples to use new navmesh. Renamed Stat samples to Solo. Added moveAlongPathCorridor() to dtNavMesh.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user