branchrust_reboot/main/ai_recast_integrationcancel

275 Commits over 669 Days - 0.02cph!

4 Days Ago
Subtract bad merge
4 Days Ago
Merge from main
14 Days Ago
FIx old animals always fleeing, SetNavMeshEnabled was turning RustNavmeshAgent on but not the internal NavmeshAgent which defaults to disabled
14 Days Ago
Disable navmesh agent until it's used, this prevents unity complaining they are not on navmesh on spawn (which can happen with ai.move)
16 Days Ago
Disable avoidance on navmeshagents, potential fix for scientists stuck in barrels
17 Days Ago
Gate ghostship unity nav gen behind ConVar.AI.useUnityNavmesh
17 Days Ago
Make entityComponent.baseEntity work in OnEnable
17 Days Ago
Fix ghostship scientists not moving (after fixing agent too far from navmesh spam)
17 Days Ago
Readd navmesh agent to realmed remove
17 Days Ago
Make TryGetAgent return null if agent is not on navmesh to prevent unity warnings
17 Days Ago
Add a unity NavmeshAgent component to all prefabs with RustNavmeshAgent and copy its settings, this is because AddComponent on NavmeshAgent causes it to use default params and log warnings
17 Days Ago
Fix race condition in editor causing WakeAIZ to try to use BaseEntity.Query.Server before it's set (use InitShared callback instead of Awake)
17 Days Ago
Fix new scientists hovering slightly above ghostship floor
18 Days Ago
Potential fix for "Failed to create agent because it is not close enough to the navmesh" spam
18 Days Ago
Fix NRE in NPCNetworking (subscribers count)
20 Days Ago
Fix typo that would cause scientists to not rotate properly towards their target
20 Days Ago
Handles cases in NPCNetowkring where SendNetworkUpdate could be sent multiple times a frame, make sure SendNetworkUpdate is only called once
20 Days Ago
Budget NPCNetworking with fsm, senses etc
20 Days Ago
Only send entity update when new state is different from old state in NPCNetworking
20 Days Ago
Cache agent from TryGetAgent
20 Days Ago
Cache isScientistNPC and sense component in rustNavMeshAgent enable
20 Days Ago
Add C# bindings for recast corridor
21 Days Ago
Use static list ticked through ServerMgr for npc networking instead of unity update
21 Days Ago
Merge from main
21 Days Ago
Convert stragglers that still used navmesh agent: dungeon scarecrows and frankenstein pet
21 Days Ago
Add script in Tools/NavMesh to find all prefabs using legacy navigation components (agents, obstacles, volumes, monument navmesh)
21 Days Ago
Delete old path following component (the one used by new AIs, replaced by RustNavMeshAgent, old AIs still use their navigator)
21 Days Ago
Use static list ticked through ServerMgr for navmesh agents instead of unity update
22 Days Ago
Potential fix for zombie NRE on _agent == null in tests
22 Days Ago
Fix zombies breaking automated tests
22 Days Ago
Fix tutorial bear and unused sharks causing errors with new navmesh
22 Days Ago
Merge from main
23 Days Ago
Fix recast save being called in unity mode (even though it early outs, it logs a warning)
23 Days Ago
Unify naming conventions, everything is now called RustNav
23 Days Ago
Update error messages to mention the command line argument rather than the convar
23 Days Ago
Disable new navmesh by default, use command line argument "-useNewNavmesh" instead of convar to make it impossible to change at runtime (as it's not supported)
23 Days Ago
Do not build the unity navmesh when in recast mode
23 Days Ago
Assert inside all recast methods that the useUnityNavmesh is false
23 Days Ago
Make useUnityNavmesh convar only work on server start, do not build recast navmesh if it's set
23 Days Ago
Remove unused WS methods, fixed more usages of subNavmesh in unity mode
23 Days Ago
Fix cases where rotation could still be using recast in unity mode
23 Days Ago
Fix other cases where it was possible to fallback to recast code path when agent is null but useUnityNavmesh is true
23 Days Ago
Fix old animals dying when spawned on a navmesh tile that has yet to be built
23 Days Ago
Fix TryGetAgent not returning false when agent fails to be added
24 Days Ago
Fix merge conflicts on meshCache submeshes
24 Days Ago
Merge from main
24 Days Ago
* Sample first before adding navmesh agent, to avoid warning spam when navmesh is not there yet * Prevent entering recast code paths when unity agent is null but convar indicates to use unity, instead do nothing
24 Days Ago
Potential fix for "can't do X on agent not on navmesh" error spawn when toggling useUnityNavmesh convar
24 Days Ago
Make sure all modifications of navPos (through property or warp) also update the world position if updateWorldPos is enabled, before warp would not update worldPos
25 Days Ago
First pass on vehicles affecting navmesh