Godot 4.2.2.stable
Hi! I’ve been fighting with my pathfinding script for a while now. I’m creating a 2D colony builder. The pathfinding for the pawns is based on a script for platformer AI that has been altered to work. The problem is, the game will contain many colonists trying to run around the base. Because of the way they were programmed, after being given a target, they will make their way to the target regardless of whether they’ve reached it or not, which makes using soft collision complicated. I tried out quite a few different methods, but none seem to have worked for what I am looking for. The program for the pawns is based on the following video, but altered to convert to 4.2.2: https://www.youtube.com/watch?v=OBBLgrhvaIo . I can provide the current code for the pawns if necessary.
Apologies if I got the formatting for this incorrectly, this is my first discussion post. Thanks in advance!