Open joseasoler opened 1 year ago
In vanilla, these seem to be used only to make pawns ignore pathing through water if possible. Amphibious pawns will need to ignore these two values, otherwise they will prefer to always path over land.
See this for an example implementation: https://github.com/joseasoler/terrain-pathfinding-kit/blob/main/Source/Patches/PathFinder_CurrentGrid_Util.cs
Clean Pathfinding 2 uses these values.
In vanilla, these seem to be used only to make pawns ignore pathing through water if possible. Amphibious pawns will need to ignore these two values, otherwise they will prefer to always path over land.
See this for an example implementation: https://github.com/joseasoler/terrain-pathfinding-kit/blob/main/Source/Patches/PathFinder_CurrentGrid_Util.cs