Monsters outside submarine do not have proper pathing finding #15298
Replies: 3 comments
-
Yeah this is a longstanding issue actually, but this issue is normally mitigated by the game spawning enemies only in direct line of sight of the submarine. However if the submarine manages to evade enemies and their AI loses track of them, or if you maneuver and use the submarine to get a terrain feature between you and the enemy then yeah enemies just blindly swim into obstructions. The map's "AI nodes" seem primarily used for the SUBMARINE pathfinding not enemy pathfinding, although the exception being the nodes inside caves. |
Beta Was this translation helpful? Give feedback.
-
This is actually somewhat intentional: the waypoint graph isn't dense or "complete" enough outside the submarine for monsters to reliably use it for navigation. While we could potentially generate a more complete waypoint graph outside too, it could easily lead to performance problems, and I feel it could be a little overkill for this purpose (considering you rarely see them getting stuck like this during normal gameplay). The monsters should use certain steering behaviors to keep them from bumping against the walls like this though - I think in earlier versions they have been able to steer away from the obstacle which often allowed them to navigate around these sorts of obstacles (but not always - if they decided to go around a wall in the "wrong direction", they might not make it to the other side). It seems this has broken at some point along the way: I think they now steer so "heavily" towards the target that the obstacle avoidance behavior can't keep them from bumping against the wall. |
Beta Was this translation helpful? Give feedback.
-
Disclaimers
What happened?
They can't find path to targets and keep bumping level walls like birds bumping windows
Example 1: Crawler Broodmother keeps trying to attack human inside cave
Example 2: Hammerheads keep trying to attack submarine another side
Example 3: Latcher keeps trying to go back to abyss
Reproduction steps
.
Bug prevalence
Happens every time I play
Single player or multiplayer?
Happens in both single player and multiplayer
-
No response
Version
v1.6.19.1 (Unto the Breach Update Hotfix 2)
-
No response
Which operating system did you encounter this bug on?
Windows
Relevant error messages and crash reports
No response
Beta Was this translation helpful? Give feedback.
All reactions