mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-10-06 08:55:43 +00:00
changed the default options of the pathfinder to 0 (i.e. no raycasts), changed the the tester tool to display all points along the sliced path (a better default for non flat terrain).
This commit is contained in:
@@ -654,7 +654,7 @@ void NavMeshTesterTool::handleUpdate(const float /*dt*/)
|
||||
|
||||
m_navQuery->findStraightPath(m_spos, epos, m_polys, m_npolys,
|
||||
m_straightPath, m_straightPathFlags,
|
||||
m_straightPathPolys, &m_nstraightPath, MAX_POLYS);
|
||||
m_straightPathPolys, &m_nstraightPath, MAX_POLYS, DT_STRAIGHTPATH_ALL_CROSSINGS);
|
||||
}
|
||||
|
||||
m_pathFindStatus = DT_FAILURE;
|
||||
|
||||
Reference in New Issue
Block a user