Closed martindzejky closed 1 year ago
Getting there...
Problems:
Maybe one problem is that after the clip_polygons
, some resulting polygons are really tiny and should be throw away. Maybe those tiny polygons are missing the edge connections. 🤷
Screw this, I don't want to spend time figuring out why it does not work. I have thrown away all the procedural mesh code, it was fun to write but not fun to debug. I reverted back to the avoidance obstacles for baskets. 🤷
Customers get stuck, oh well...
1eedfe5
I tried using the avoidance for agents (customers) but they just always get stuck either in a product or a basket. I think the solution is to construct a custom navigation mesh procedurally each time a product or a basket is placed on the floor. Use the existing navigation mesh from the tiles as a starting point, cut out the obstacles from it.