NOTE: I’m a begginer and I barley know how to code
I’m trying to make a game mechanic simular to eathbound’s, two characters walk behind the player while animating in a top down pixel art setting.
The player is reffered to as the character “Hope” and in the game, two characters “Kevin” and “Alex” follow her along the map.
I tried using nav agent which generates a new path to follow the player in, it works but it’s buggy and sometimes the other characters colide and it’s just not what I want.
The main issues I’m fasing:
I want the player to be able to go “into” the other characters if they want to go back or up in the same possition while the other characters stop moving(and stop animating) until they can follow Hope again in the correct order, since when I do that with navagent it just makes the characters walk in front or next to hope instead of behind her.
Here’s a video of what I mean if it helps (Here I also show the code and stuff)((i just realised it wont allow me but ill do once the account isnt new))