Can we use region ID to block NPC from walking in some place.
Becaus they look for shortest way, but that also mean they will walk on grass instead of using road.
So putting a specific region_id will block them from walking where it's not beauty.
Thanks.
I guess the best idea was to give to npc a existing path with a specific region id and he follow it and do pathfinder inside autorized path. Only mov outside the path if require. That will drasticaly lower computation requirement no?
Becaus they look for shortest way, but that also mean they will walk on grass instead of using road.
So putting a specific region_id will block them from walking where it's not beauty.
Thanks.
I guess the best idea was to give to npc a existing path with a specific region id and he follow it and do pathfinder inside autorized path. Only mov outside the path if require. That will drasticaly lower computation requirement no?