Bought the Pro Version, very cool stuff. Been digging through the forums and have a specific question though:
Like many others, I’m trying to get Pathfinding working with spherical or rather, just non-planar objects. I’ve downloaded the beta version from a while back where you Demo that specific idea and that works the way I’d like it to.
Heres the rub: I’d like to generate the mesh I’m using at runtime, allow the player to make all the tweaks they want in the editor, and when they are done, use their final mesh, (which wont change from this point forward), to create a navmesh on a mostly spherical object.
For a little background, what I’m basically starting with is a cube made up of 6 separate planar meshes each facing a different direction. I’m creating the vertices and subsequent triangles for the mesh using code. Then I set each vertex to be the same distance, (the radius of the planet) from it’s center. Then I use noise to deform it further. The basic set up is detailed below:
The plan is then to combine the 6 separate meshes into a single one, then use that mesh as the basis for the navmesh.
Problem is, I’ve tried for a while to figure out how to manually assign this mesh to the graph at runtime and I’ve dug through the long forum post I saw dedicated to this, (Navmesh on a spherical planet), but haven’t found an answer to what I’m looking for.
So TLDR, is what I’m trying to do possible out of box or with a few changes to the code? Any help would be greatly appreciated.