YiMingFu / recastnavigation

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

Function rcFilterLowHangingWalkableObstacles has no effect #174

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Build a navigation mesh with the sample 'SoloMesh'.
2.That's all. rcFilterLowHangingWalkableObstacles will be executed but no 
effect.

What is the expected output? What do you see instead?
rcFilterLowHangingWalkableObstacles function must be written to extend walkable 
state to adjacent 2 or more spans(voxels?) in a same grid of HeightField. But 
its current implementation does not.

What version of the product are you using? On what operating system?
Found at the revision 295 of http://recastnavigation.googlecode.com/svn/trunk. 
And this issue is not related with the version of OS.

Please provide any additional information below.
In rcFileterLowHangingWalkableObstacles, there is a line like following code 
inside of a for loop with if phrase.
s->area = RC_NULL_AREA;
And Mikko said it should be replaced with
s->area = previousArea;

Have a nice day~ :)

Original issue reported on code.google.com by synastr...@gmail.com on 14 Jun 2011 at 7:24

GoogleCodeExporter commented 8 years ago
Fixed in R296.

Original comment by memono...@gmail.com on 3 Jul 2011 at 11:52