]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Steering tweaks (#14140)
authormetalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Thu, 16 Feb 2023 14:24:57 +0000 (01:24 +1100)
committerGitHub <noreply@github.com>
Thu, 16 Feb 2023 14:24:57 +0000 (08:24 -0600)
commit0a9da8005875244b4bb583674212179ebc743b70
tree060426fbf5c11593de15d91ec5b5cf6865afb61e
parent468d0715d6727ce3bd2d467df973b825d0363862
Steering tweaks (#14140)

- Fix the direct-path so NPCs. This is most noticeable when moving diagonally on planetmaps (given the current pathfinder is cardinal)
- Reduce static collision avoidance weight and distance. This seems to reduce instances of getting stuck on railings.
Content.Server/NPC/Systems/NPCSteeringSystem.Context.cs
Content.Server/NPC/Systems/NPCSteeringSystem.cs