branchrust_reboot/main/ai_recast_integrationcancel
38 Commits over 396 Days - 0.00cph!
Add method to find next waypoint on path in c#, will not use detour crowd for now
- 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
- 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
- Restore multithreaded navmesh building
- Increase tile poly buffer size for debug vis
- Handle mesh colliders submeshes (uncommon but possible)
Replace unity profile markers with timewarnings, add stopwatch to log build times
Add debug commands to test pathing and sampling
- 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
Update pooled list renting to new API
Update protobuf deserialization of navdata
Submit navmesh display line material
Use submeshes instead of 2 separate meshes for nav triangles and nav lines
Replace calls to DDraw.Line with Graphicss.RenderMesh of a MeshTopology.Lines mesh, greatly reducing GC pressure
Reduce navmesh draw allocs again
Further optimize navmesh drawing
Optimize navmesh debug view
Complete client navmesh drawing
Make it possible for admins to see the navmesh
Add command to draw navmesh in game
Generate tiles in chunks to avoid potentialyl running out of memory on massive maps
Fix navmesh not generating properly with mesh colliders
Use more appropriate collision masks for navmesh geo gathering
Cache mesh colliders, replace lists with fpnativelists to avoid an additional copy when marshalling
Multithread filtering triangles out of tile bounds, and transforming the triangles from mesh space to world space
Fix fuel tank mesh collider not being readable
Remove some more allocations and add more profiling
Multi-thread navmesh building, making the recast side computations almost negligible
Separate navigation building steps so it's easier to multi-thread
Add option to build navmesh asynchronously, add more profile markers
Speed up navmesh generation by using arraypool instead of a massive buffer
Fix memory leak and add more profiler coverage
Add option to disable verbose log and add profiler markers, reduce gc allocs
Save and load navmesh as part of boostrap and saverestore flow, lower voxel size for tiles that only contain terrain
Display the navmesh as a mesh instead of a gizmo, remove runtime allocations
Add recast DLL with custom bindings