 Davste
|
I have enemies following the player. The problem is that the enemies end up taking the same path, follow each other like ducks (and also do not take each other’s positions into consideration).
Here’s a 12 second video that shows my problem: http://www.youtube.com/watch?v=QyfCUt2oZxM
|
 Invalid
|
Taking the same path is a conclusion of shortest path algorithm.If you want them to follow a complete different path, you should give them different targets
|
 Davste
|
You see the line in the video though – they do not take each other’s position into consideration. Is there any way I can fix that?
|
 Davste
|
I just need to know one thing – how do I rescan (like pressing the scan button in the unity editor) from code during runtime?
|