Vaelek Posted January 17, 2015 Posted January 17, 2015 I don't know the behind the scenes of how navmesh is generated to know if this is even possible, but it would be very nice to be able to regenerate navmesh for only an area within and around the active model or a selection area. Especially when working with large terrain maps, making small changes and regenerating can be rather time consuming. Going one step further, some type of manual manipulation or painting of navmesh would be doubly awesome. Quote
AggrorJorn Posted January 17, 2015 Posted January 17, 2015 The navmesh is calculated by a library called recast. In C++ you have the ability to recalculate segments of the navmesh. This is not exposed to lua I believe. https://github.com/memononen/recastnavigation Quote
Vaelek Posted January 18, 2015 Author Posted January 18, 2015 I didn't mean from Lua, I meant within the editor.. ie I make a small change to a doorway, and have a way to recalculate (in the editor) the navmesh for only that particular area and not have to sit through building the entire 1024x1024 navmesh for 10 minutes. Quote
beo6 Posted January 18, 2015 Posted January 18, 2015 official support for that in the game is more important in my opinion. The Editor can wait for 10 minutes to recalculate the navmesh (if he needs to) but the player when playing a game will think the game crashed. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.