How to avoid NPC's going through objects.
#7

Quote:
Originally Posted by whatthefuck123
Посмотреть сообщение
how to know the direction which their next move will be?
that depends on your algorithm: if you are using a node map, then excluding nodes in the "forbidden" area will do fine. as start, to see if the npc stepped into the mall, you can, as first attempt, simply respawn them. as soon that works, you can change the moving-algorithm to chose a different direction, i.e. the second best route (let the npc walk around the mall).
Reply


Messages In This Thread
How to avoid NPC's going through objects. - by TonyII - 23.11.2013, 22:04
Re: How to avoid NPC's going through objects. - by Babul - 23.11.2013, 23:37
Re: How to avoid NPC's going through objects. - by TonyII - 23.11.2013, 23:47
Re: How to avoid NPC's going through objects. - by Babul - 24.11.2013, 00:12
Re: How to avoid NPC's going through objects. - by whatthefuck123 - 24.11.2013, 00:20
Re: How to avoid NPC's going through objects. - by InglewoodRoleplay - 24.11.2013, 05:51
Re: How to avoid NPC's going through objects. - by Babul - 26.11.2013, 01:02

Forum Jump:


Users browsing this thread: 1 Guest(s)