Guys pls help.
I have started making new platformer game and everything was going well until i had multiple instances of same sprite that needs to be AI.
My problem:
My hero walks on his path up until he gets in their line of sight. Then they start walking towards him and that works fine with only one. But if i have him between two of them they will both move left or right simultaneously so only the one that is closer moves to him while other one moves away. Can anyone help on how to make them follow him independently if he is in their line of sight ?
Thx in advance guys