Thx before for all who spent your time to help my problem..
to the point, I try to create NPC that will move to nearest object.
- NPC move randomly
-- when object spawn, NPC will move to nearest object use path finding
-- object will disapear on collision
-- NPC will move again to another nearest object till there no object left
- While there no object around NPC move randomly again
the problem is NPC moving to nearest enemy didnt work..
I have UID of nearest object, but dont know how to use with path finding..
sorry about my english.