Navigate To Multiple Targets
robert.mccarthy
Member Posts: 165
Hi All,
I need a little help with logic (and maybe how to implement it).
Basically, I have an 'ENEMY' which at the moment navigates towards a 'HERO'. This all works, however, as I add more heroes to the scene, the enemies only move towards one of them.
I want the enemy to move towards the closest hero.
Any ideas?
Thanks again
I need a little help with logic (and maybe how to implement it).
Basically, I have an 'ENEMY' which at the moment navigates towards a 'HERO'. This all works, however, as I add more heroes to the scene, the enemies only move towards one of them.
I want the enemy to move towards the closest hero.
Any ideas?
Thanks again