swordlegend / recastnavigation

Automatically exported from code.google.com/p/recastnavigation
zlib License
0 stars 0 forks source link

findStraightPath error with multiple height levels. #91

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

In the demo app, using the find path tool, test a path starting from one poly 
and ending on a poly directly above/below (but unconnected to) the start point.

What is the expected output? What do you see instead?

No path should exist between the points. Instead, a path is found.

What version of the product are you using? On what operating system?

r167 in Visual Studio 2005 on Windows 7.

Original issue reported on code.google.com by prbry...@gmail.com on 21 Jun 2010 at 1:03

GoogleCodeExporter commented 9 years ago
That operation require call to dtNavMesh::closestPointOnPoly(), which is 
potentially really expensive. I changed the navmesh tester tool to handle this 
case. I might change the API regarding this feature a bit when I start working 
on the multi-agent stuff, so I'm not going to do really extensive fixes for 
now. R171.

Original comment by memono...@gmail.com on 8 Jul 2010 at 11:37