FiftyTifty Posted September 30, 2016 Share Posted September 30, 2016 'Ullo again lads, got a wee question on how to approach this problem with the navmesh. http://i.imgur.com/e77mOdG.png As ya can see in the above image, the navmesh stops abruptly at the steel crate. However, in this workshop, you can scrap it. Problem is, when you do, the navmesh doesn't magically repair itself and extend into the now reachable area. What's the deal with this? Do I just add more navmesh vertices underneath the objects, and the AI will just navigate around it? Or is it more complex than that? Link to comment Share on other sites More sharing options...
FiftyTifty Posted September 30, 2016 Author Share Posted September 30, 2016 Right, it turns out that there is a special type of navmesh; precuts. These are disabled by default, and are generated by intersecting scrappable objects with the navmesh. When the scrappable object is scrapped, the precut is enabled. They're coloured bright pink in the editor. http://i.imgur.com/O9ruZR5.png Trouble is, I can only seem to generate these precuts for the whole cell; I can't figure out how to calculate the precuts for a select few navmesh triangles. To generate the precuts for the whole cell, you: 1. Click the "Navmesh" tab2. Click "Precut All Scrappables" Which is waaaaay overzealous for what I want to do at the moment, especially since I'm editing a pre-existing cell. Need to do this stuff incrementally. Anybody got any ideas? Link to comment Share on other sites More sharing options...
FiftyTifty Posted September 30, 2016 Author Share Posted September 30, 2016 SOLUTION! 1. Exit Navmesh mode2. Select the scrappable objects that will do stuff to the navmesh3. Enter Navmesh mode4. Now the "xxx for Selection" options under the Navmesh menu will work. Link to comment Share on other sites More sharing options...
tarsis31 Posted October 3, 2016 Share Posted October 3, 2016 Nice find, thanks for posting your results. Link to comment Share on other sites More sharing options...
FiftyTifty Posted October 3, 2016 Author Share Posted October 3, 2016 Yah. The wiki is completely empty, so the least I can do is share the info. Link to comment Share on other sites More sharing options...
TwilightOne Posted October 5, 2016 Share Posted October 5, 2016 Really useful stuff right here! You should go and edit the wiki with this find! It is sure to help a lot of people! Link to comment Share on other sites More sharing options...
FiftyTifty Posted October 5, 2016 Author Share Posted October 5, 2016 Really useful stuff right here! You should go and edit the wiki with this find! It is sure to help a lot of people!Done. First time making a wiki page, so it's probably pretty bad, but I think I managed to convey all the needed info. It's actually a really simple concept, but it just seems daunting at first. Link to comment Share on other sites More sharing options...
Recommended Posts