![Smile :)](./images/smilies/icon_e_smile.gif)
Without even touching the subject of multicore cpus and such, I was thinking that, for example, the pathfinding would benefit a lot by being put into a separate thread. Right now - for the little I played with the code - it seems to be one of the things that make the game hiccup now and then.
Engine doing stuff -> Wait for NPCS, Monsters etc. to pathfind -> Go on and finally render
Would become
Engine doing stuff -> Go on and finally render
and concurrently:
NPCS, Monsters are pathfinding. When done, move them
[I am making this obvious for non-coders of course, not for the Exult team
![Wink ;)](./images/smilies/icon_e_wink.gif)
So I am wondering: how much is the pathfinder entangled with the rest of the engine? Does it produce data that is fundamental to the execution of the main thread, every frame?