Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pathfinding] Alternatives to Blender #306

Open
crcdng opened this issue Nov 15, 2019 · 5 comments
Open

[pathfinding] Alternatives to Blender #306

crcdng opened this issue Nov 15, 2019 · 5 comments
Labels

Comments

@crcdng
Copy link

crcdng commented Nov 15, 2019

Now that Blender 2.8 removed the game mode and with it the nav mesh creation, which alternatives are out there? Is the format for the Nav Mesh used here documented? Would it make sense to develop a Blender plug-in using the existing code from Blender 2.7 for example?

@RangerMauve
Copy link

Have you seen Mozilla Spoke? https://hubs.mozilla.com/spoke/

It has navmesh support as well as GLB export.

@donmccurdy
Copy link
Collaborator

donmccurdy commented Nov 15, 2019

@RangerMauve Is it possible to create a navmesh in Spoke, then export it to a standalone mesh?

Is the format for the Nav Mesh used here documented?

It's a mesh with fully-connected triangles. You can create a surface in Blender and export that to a format like glTF.

...which alternatives are out there?

One workaround is https://github.com/donmccurdy/aframe-inspector-plugin-recast, or you can use Recast CLI directly on a mesh perhaps.

Would it make sense to develop a Blender plug-in using the existing code from Blender 2.7 for example?

I'd be happy to see a navmesh-only addon for Blender, although I am not planning to do so myself. Unfortunately I don't know if it's possible to use native dependencies in Blender addons... the Recast library was what Blender used before, and what my inspector plugin uses above. (and Spoke too, for that matter).

@dirkk0
Copy link
Contributor

dirkk0 commented Nov 16, 2019

I always thought of a NavMesh as something that needs to be created by an algorithm, but since I created one manually (#226 (comment)) I think creating it myself is the much better option for game development.

@crcdng
Copy link
Author

crcdng commented Nov 16, 2019

Thanks for the suggestions, I will have a look. Maybe we can keep this issue open to collect other alternatives?

@donmccurdy
Copy link
Collaborator

There's a clever suggestion here using boolean modifiers: https://www.reddit.com/r/blenderhelp/comments/a7gdx7/navigation_mesh_in_blender_28/. I think you'd have to adjust it a bit with non-level terrain — not just a simple plane — but the same idea should be workable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants