userMaverickcancel
branchrust_reboot/main/ai_recast_integrationcancel

155 Commits over 608 Days - 0.01cph!

7 Months Ago
- Fix chunk bounds being incorrect - Add option to debug sample the detail mesh height (it seems to not be working)
7 Months Ago
- Multithread in C++ instead of C# as it's simpler to avoid allocs - Make navmesh build not generate any garbage - Add option to sample detail navmesh height - Tick navmesh from ServerMgr instead of letting unity decide
7 Months Ago
Replace parallel for with normal for loops as it doesn't seem possible to completely get rid of their allocation (tried caching actions, extracting state, reimplementing with tasks, unitask, threadpool... those allocate less but still do)
7 Months Ago
Remove alloc in ExtractMesh
7 Months Ago
Fix IsNavmeshBuilt returning true while navmesh is still async building
7 Months Ago
Do not reset "stopAtDestination" when end of path reached, that defeats the purpose, as we want to keep moving even after reaching the end
7 Months Ago
- Rewrite path following logic to not rely on unity's navmesh agent - Add convar to toggle between using unity navmesh, and recast navmesh to calculate paths (only wolf, tiger, croc for now)
7 Months Ago
Add method to calculate remaining path length
7 Months Ago
- Move recast code to the rust native project - Rust native local DLL build to test
7 Months Ago
Remove non threadsafe timeWarning from multithreaded part
7 Months Ago
- Import UniTask - Run navmesh generation on a background thread - Handle AiManager.nav_wait and AI.move the same way as the current DynamicNavmesh
7 Months Ago
Merge from main
7 Months Ago
- Fix rcExpandTileBounds not matching c++ code exactly, causing tile seams to be discontinuous - Fix query extents being doubled when sampling - Expose min region size to c# - Start making editor tool to find and replace all navmesh obstacle components
7 Months Ago
Implement pathfinding iteration limit, so that paths to unreachable polys waste less budget
7 Months Ago
- Fix chunks not being correctly processed - Add budget queue when rebuilding tiles at runtime - Add command to test rebuild of tiles
7 Months Ago
- Fix bools not being passed from c# to c++ correctly - Add [Out] and [In] annotations where relevant - Expose maxNodes to c#
7 Months Ago
Add info to partial paths
7 Months Ago
Add method to find next waypoint on path in c#, will not use detour crowd for now
7 Months Ago
- Debug convar for nav trace - tweak navgen params - fix nav trace hit y being incorrect - allow recast.draw to function as a toggle when used without params
7 Months Ago
- Speed up nav gen by 30% by using rust baked terrain and NavMeshBuilder.CollectSources - Fix navmesh not taking into account terrain alpha properly - Add nav raycast - Update tile extractor profile markers - Fix memory leaks with pooled list not being disposed
7 Months Ago
- Restore multithreaded navmesh building - Increase tile poly buffer size for debug vis - Handle mesh colliders submeshes (uncommon but possible)
7 Months Ago
Replace unity profile markers with timewarnings, add stopwatch to log build times
7 Months Ago
Add debug commands to test pathing and sampling
7 Months Ago
- Make layers and build params match what's done in game - Add navmesh builder to ai singleton - Make static methods that use a lot of state instance method - Increase buffer size for nav tile rendering - Add command to rebuild whole navmesh - Display nav tile coords when using debug display in editor
7 Months Ago
Codegen
7 Months Ago
Update pooled list renting to new API
8 Months Ago
Update protobuf deserialization of navdata
8 Months Ago
Fix compile errors
8 Months Ago
Merge from main
1 Year Ago
Merge from main
1 Year Ago
Submit navmesh display line material
1 Year Ago
Use submeshes instead of 2 separate meshes for nav triangles and nav lines
1 Year Ago
Replace calls to DDraw.Line with Graphicss.RenderMesh of a MeshTopology.Lines mesh, greatly reducing GC pressure
1 Year Ago
Reduce navmesh draw allocs again
1 Year Ago
Further optimize navmesh drawing
1 Year Ago
Optimize navmesh debug view
1 Year Ago
Complete client navmesh drawing
1 Year Ago
Make it possible for admins to see the navmesh
1 Year Ago
Add command to draw navmesh in game
1 Year Ago
Generate tiles in chunks to avoid potentialyl running out of memory on massive maps
1 Year Ago
Fix navmesh not generating properly with mesh colliders
1 Year Ago
Use more appropriate collision masks for navmesh geo gathering
1 Year Ago
Cache mesh colliders, replace lists with fpnativelists to avoid an additional copy when marshalling
1 Year Ago
Multithread filtering triangles out of tile bounds, and transforming the triangles from mesh space to world space
1 Year Ago
Fix fuel tank mesh collider not being readable
1 Year Ago
Remove some more allocations and add more profiling
1 Year Ago
Multi-thread navmesh building, making the recast side computations almost negligible
1 Year Ago
Separate navigation building steps so it's easier to multi-thread
1 Year Ago
Add option to build navmesh asynchronously, add more profile markers
1 Year Ago
Speed up navmesh generation by using arraypool instead of a massive buffer