gunslinger6792 Posted July 18, 2013 Share Posted July 18, 2013 So I'm placing a house outside in the wasteland and I know I need to navmesh. I'm also going to be placing walls around the buidling and I know that if i don't fix the navmeshing I'll have npc's bouncing off the walls(literally). So is navmeshing outside the same as it is inside a building? what about navmeshing between cells? (I'm assuming thats what the green grid lines are) Link to comment Share on other sites More sharing options...
Deleted2547005User Posted July 18, 2013 Share Posted July 18, 2013 You have assumed correctly, the green lines are the external navmesh connections between two different cells. Navmeshing exteriors is not the same as interiors, but for the purpose of your house, it is simple enough to crop the navmeshes around the house. Link to comment Share on other sites More sharing options...
greggorypeccary Posted July 18, 2013 Share Posted July 18, 2013 Be careful of the terrain variations. Sometimes it is hard to see the height differences while navmeshing. Link to comment Share on other sites More sharing options...
gunslinger6792 Posted July 18, 2013 Author Share Posted July 18, 2013 You have assumed correctly, the green lines are the external navmesh connections between two different cells. Navmeshing exteriors is not the same as interiors, but for the purpose of your house, it is simple enough to crop the navmeshes around the house.I was able to do that but what about walls like defensive walls? Link to comment Share on other sites More sharing options...
greggorypeccary Posted July 18, 2013 Share Posted July 18, 2013 "I was able to do that but what about walls like defensive walls?" That's a little harder. you will have to leave spaces in the navmesh so the walls will fit inside them. That will stop most npc's from trying to walk through them. If you are working in different cells pay very close attention to where they meet it is important. Link to comment Share on other sites More sharing options...
gunslinger6792 Posted July 18, 2013 Author Share Posted July 18, 2013 "I was able to do that but what about walls like defensive walls?" That's a little harder. you will have to leave spaces in the navmesh so the walls will fit inside them. That will stop most npc's from trying to walk through them. If you are working in different cells pay very close attention to where they meet it is important.So other than needing to mindful of different cells and spaces between the walls navmeshing is the same as it would normally be? Link to comment Share on other sites More sharing options...
TrickyVein Posted July 18, 2013 Share Posted July 18, 2013 Yep. Link to comment Share on other sites More sharing options...
gunslinger6792 Posted July 18, 2013 Author Share Posted July 18, 2013 Yep. Fantastic. Thank you everyone! Are they're any specific rules for navmeshing between 2 or more cells? Link to comment Share on other sites More sharing options...
TrickyVein Posted July 19, 2013 Share Posted July 19, 2013 Ideally, edges which define the boundary of the cell should overlap but there's a bit of wiggle room. While it's good practice to place vertices next to each other, or over-top one another when moving between cells, you can get away with a few gaps here and there as long as the edges of two navmesh-triangles are touching one another. When you're finished navmeshing for one cell, finalize the cell's navmesh and any edges which lie along the cell-boundary will become highlighted in green if they are close enough to the navmesh of a nearby cell. You can adjust your navmesh at any time and re-finalize the cell to make sure paths line up where you want them to. Link to comment Share on other sites More sharing options...
Deleted2547005User Posted July 19, 2013 Share Posted July 19, 2013 Save all the time. The GECK loves to crash when working on navmeshes, usually when making cover data and finalizing navmeshes. Link to comment Share on other sites More sharing options...
Recommended Posts