-
Contributor
Navmesh Help
Edit: As always I post this and try one more change seems to be working.
seems changing markwalkabletiles to
Context.ClearUnwalkableTriangles(Config.WalkableSlopeAngle, ref vertices, ref triangles,areas);
But that is just a quick test with the CapekNav test case.
Yep still giving partial results and failing some other tests. Back to square 1.
Generated tile for reference
Azeroth_32_48.tile
That same tile in meshReader that I updated for vs2015:
meshDrawer
Let me start off by saying i am no way an expert with this but am learning, I took on the challenge a few days ago and feel I have made good progress so far.
The project current code can be found here:
https://github.com/aeo24/WoWMap
I have used WoWMap by miceiken as a base as well as many references to meshBuilder to get to where I am now.
My current obj outputs can be found here:
Recast - Album on Imgur
Where I'm having issues is actually using my generated mesh to construct a path(FindNearestPoly returns 0). I have a feeling that the problem lies within my mesh creation code found here:
https://github.com/aeo24/WoWMap/blob...Builder.cs#L68
Im hoping that someone can spot an obvious error in the code and help me resolve it quickly.
I have a feeling I'm just missing some sort of param with the navmesh generation. I have also attempted to load my Navmesh into recast without luck. It seems that when I call addTile it dosn't like the data in my mesh(Which again makes me believe its incorrect). I feel i should be able to rename my mesh to all_tiles_navmesh.bin and it should load in recast?
Current RecastConfig can be found here:
https://github.com/aeo24/WoWMap/blob...ecastConfig.cs
(If Im not mistaken this should do one tile per adt)
Also one more thing, I have updated the RecastLayer of meshReader to the latest recast version. I have tried going back to the original with no luck also.
Last But not least I'd like to thank the many people that helped me get this far.
- Contributers of the WoWDev wiki
- caytchen/stschake
- [TOM_RUS]
- Alram/Marlamin
- relaxok
- Cromon
- schlumpf
- Deamon87
- miceiken
- Namreeb
Thanks,
Ace
Last edited by aeo; 01-28-2016 at 06:27 PM.
-
Post Thanks / Like - 1 Thanks
Wark_dev (1 members gave Thanks to aeo for this useful post)