Closed Udrakan closed 2 years ago
It seems that this doesn't happen consistently.
Though sometimes characters seem to navigate away from inside the cave correctly but will stay at the waypoint outside of the cave instead of returning to the sub from there. And sometimes they start swimming towards a wall briefly before they start using the pathfinding.
I didn't manage to reproduce the issue of them continuously just swimming against walls inside a cave yet. But I will keep debugging this since there seem to be some oddities with it.
I tried to improve the return behavior in Regalis11/Barotrauma-development@849d55c by simplifying the objective logic a bit. The objective used to create separate sub-objectives for first navigating out of the cave and then navigating to the sub. Now it only creates a single sub-objective for that as the HumanAIController controls whether we should use pathing or just move directly towards the target.
I didn't spot any issues with any of the caves I tested, seems to be working correctly. Closing.
Description
Bots in the cave are trying to push to the ceiling when return to sub is issued Version Unstable