0xec / critterai

Automatically exported from code.google.com/p/critterai
1 stars 0 forks source link

Off-Mesh Connections Don't Link Properly with bvTreeEnabled set to false. #26

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
If a tile includes off-mesh connections and is built with bvTreeEnabled set to 
false, the off-mesh connections will not be linked correctly into the polygon 
surface.

Occurs in v0.4.0

Workaround: Build the tile with bvTreeEnabled set to true.

Appears to be a problem in the underlying Detour code.  (Not verified.)  No 
time to resolve before the release of v0.4, so will be addressed in a bug fix 
release.

Original issue reported on code.google.com by steve...@gmail.com on 9 May 2012 at 9:10

GoogleCodeExporter commented 9 years ago
This may not be a defect.  Will need to look into it further.

The issue is that the search distance for the polygon link point is smaller 
when bvTreeEnabled is set to false, not that link detection will always fail.  
So moving the off-mesh connection endpoint closer to the surface of the 
navigation mesh will result in the off-mesh conection <-> polygon surface link 
being correctly detected.

Original comment by steve...@gmail.com on 22 May 2012 at 10:48