Navigate To Multiple Targets

robert.mccarthyrobert.mccarthy Member Posts: 165
edited November -1 in Working with GS (Mac)
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
Sign In or Register to comment.