I’m pretty sure that you can run meep on server-side. It’s not browser-specific. You have navigation tools in there, mostly grid stuff though, and you have behavior trees. It’s all open source under MIT. If you have some specific questions - i can provide a bit of support.
Are you asking about generating a navmesh serverside? Or controlling the AI? If you want to do pathfinding on a navmesh you already have, https://github.com/donmccurdy/three-pathfinding will do that. But it’s probably not as full-featured for a game as something like Yuka or Meep.
I’ve published a new version today which makes the handling of NavMeshLoader more node friendly. There is now a parse() method that can be used if you load the file contents e.g. via fs.
@donmccurdy I can’t seem to get GLTFLoader to work in node when I try to use three-pathfinding. I keep getting: ReferenceError: THREE is not defined
It really feels like I’m swimming upstream with this whole pathfinding on a nav mesh thing. I mean there has to be a tool that does it somewhere, that can work on a server.
You’ll probably need something roughly like this: https://gist.github.com/donmccurdy/323c6363ac7ca8a7de6a3362d7fdddb4 … in general it takes a bit of work to use three.js tools in node.js, where WebGL does not exist. The jsm/ versions of files may be easier to use than the js/ versions.