branchrust_reboot/main/ai_recast_integrationcancel

275 Commits over 669 Days - 0.02cph!

53 Days Ago
Subtract bad merge
53 Days Ago
Merge from main
2 Months Ago
FIx old animals always fleeing, SetNavMeshEnabled was turning RustNavmeshAgent on but not the internal NavmeshAgent which defaults to disabled
2 Months 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)
2 Months Ago
Disable avoidance on navmeshagents, potential fix for scientists stuck in barrels
2 Months Ago
Gate ghostship unity nav gen behind ConVar.AI.useUnityNavmesh
2 Months Ago
Make entityComponent.baseEntity work in OnEnable
2 Months Ago
Fix ghostship scientists not moving (after fixing agent too far from navmesh spam)
2 Months Ago
Readd navmesh agent to realmed remove
2 Months Ago
Make TryGetAgent return null if agent is not on navmesh to prevent unity warnings
2 Months 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
2 Months 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)
2 Months Ago
Fix new scientists hovering slightly above ghostship floor
2 Months Ago
Potential fix for "Failed to create agent because it is not close enough to the navmesh" spam
2 Months Ago
Fix NRE in NPCNetworking (subscribers count)
2 Months Ago
Fix typo that would cause scientists to not rotate properly towards their target
2 Months Ago
Handles cases in NPCNetowkring where SendNetworkUpdate could be sent multiple times a frame, make sure SendNetworkUpdate is only called once
2 Months Ago
Budget NPCNetworking with fsm, senses etc
2 Months Ago
Only send entity update when new state is different from old state in NPCNetworking
2 Months Ago
Cache agent from TryGetAgent
2 Months Ago
Cache isScientistNPC and sense component in rustNavMeshAgent enable
2 Months Ago
Add C# bindings for recast corridor
2 Months Ago
Use static list ticked through ServerMgr for npc networking instead of unity update
2 Months Ago
Merge from main
2 Months Ago
Convert stragglers that still used navmesh agent: dungeon scarecrows and frankenstein pet
2 Months Ago
Add script in Tools/NavMesh to find all prefabs using legacy navigation components (agents, obstacles, volumes, monument navmesh)
2 Months Ago
Delete old path following component (the one used by new AIs, replaced by RustNavMeshAgent, old AIs still use their navigator)
2 Months Ago
Use static list ticked through ServerMgr for navmesh agents instead of unity update
2 Months Ago
Potential fix for zombie NRE on _agent == null in tests
2 Months Ago
Fix zombies breaking automated tests
2 Months Ago
Fix tutorial bear and unused sharks causing errors with new navmesh
2 Months Ago
Merge from main
2 Months Ago
Fix recast save being called in unity mode (even though it early outs, it logs a warning)
2 Months Ago
Unify naming conventions, everything is now called RustNav
2 Months Ago
Update error messages to mention the command line argument rather than the convar
2 Months 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)
2 Months Ago
Do not build the unity navmesh when in recast mode
2 Months Ago
Assert inside all recast methods that the useUnityNavmesh is false
2 Months Ago
Make useUnityNavmesh convar only work on server start, do not build recast navmesh if it's set
2 Months Ago
Remove unused WS methods, fixed more usages of subNavmesh in unity mode
2 Months Ago
Fix cases where rotation could still be using recast in unity mode
2 Months Ago
Fix other cases where it was possible to fallback to recast code path when agent is null but useUnityNavmesh is true
2 Months Ago
Fix old animals dying when spawned on a navmesh tile that has yet to be built
2 Months Ago
Fix TryGetAgent not returning false when agent fails to be added
2 Months Ago
Fix merge conflicts on meshCache submeshes
2 Months Ago
Merge from main
2 Months 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
2 Months Ago
Potential fix for "can't do X on agent not on navmesh" error spawn when toggling useUnityNavmesh convar
2 Months 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
2 Months Ago
First pass on vehicles affecting navmesh