liuhaopen / UnityMMO

an unity mmo demo, base on ecs(game play), xlua(ui)
MIT License
1.68k stars 438 forks source link

About Navmesh. #8

Closed juliolitwin closed 5 years ago

juliolitwin commented 5 years ago

Yo,

A question, does the server check the navmesh? Because I did not find the navmesh reading on the server, just the client.

Congratulations on the excellent work!

liuhaopen commented 5 years ago

Thank you for your reminding, the server does not currently check the navmesh, I have added another project for this : Navigator, that export the data via the UnityEngine.AI.NavMesh.CalculateTriangulation API,then convert to a dtNavMesh structure that can be used directly by recastnavigation. but also need to take some time to test big scene and export the API to lua to use in skynet, which I will handle after completing the bag and equipment system.