04-24-2015, 09:55 PM
True, that could be an issue. Then how about having a SharedPtr to the path, initialized in StartPathfinding and returned in GetPath(). The path can then be shared between the pathfinder (for other clients calling GetPath()) and the actual path executor on the mob; possibly even exported to Lua as "planned path".