Farfi55 / CookedUp

Unity Game inspired by Overcooked and PlateUp! with Bots AI using ASP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bots somethimes go to the same PlatesCounter wasting time

Farfi55 opened this issue · comments

Bots somethimes go to the same PlatesCounter and when no plates are ready to be taken they wait there untill a new plate spawns

this could be 'fixed' by using grid distance to chose which PlatesCounter to go to.
It won't really fix it if a lot of Bots are closer to a specific PlatesCounter, but should anyway help

Fixed using Manhattan distance and in case of same distance the counter with the highest ID