Crossbones+ - Reputation: 1390
Posted 14 August 2012 - 07:49 PM
But I must be doing something wrong because it's laggy.
I tried doing pathfinding in a separate thread but it crashes.
Moderators - Reputation: 2183
Posted 14 August 2012 - 08:07 PM
You haven't told us enough about your situation for us to help.
Professional consultant on game AI, mathematical modeling, simulation modeling
Co-advisor of the GDC AI Summit
Co-founder of the AI Game Programmers Guild
Author of the book, Behavioral Mathematics for Game AI
IA News - What's happening at IA | IA on AI - AI news and notes | Post-Play'em - Observations on AI of games I play
"Reducing the world to mathematical equations!"
Members - Reputation: 1110
Posted 14 August 2012 - 09:44 PM
Essentially search from the shared destination back to the individual workers, and book time slices so workers co-operatively avoid each other. Hope that helps!