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

aframe-inspector-plugin-recast not maintained #416

Open
gmarty opened this issue Jan 23, 2023 · 6 comments
Open

aframe-inspector-plugin-recast not maintained #416

gmarty opened this issue Jan 23, 2023 · 6 comments

Comments

@gmarty
Copy link
Contributor

gmarty commented Jan 23, 2023

ICYMI, aframe-inspector-plugin-recast is not maintained anymore, see issue #48.

This plugin was the recommended solution to generate navmesh. The server is still running, but maybe not for long.

The pathfinding README links to a blogpost that contains outdated information (when Blender used to have a video game mode).

I'm concerned that when the aframe-inspector-plugin-recast server goes down, there won't be a way to generate a navmesh.

There are different possible ways to get out of this situation:

@vincentfretin
Copy link
Member

I didn't do a lot of scene in blender myself. I sometimes used just a plane and cut some holes with the knife tool.
How to use the Knife tool: https://www.youtube.com/watch?v=4scXty1hsto
Also see articles from Hubs:
https://hubs.mozilla.com/labs/what-is-a-nav-mesh/
https://hubs.mozilla.com/labs/creating-a-custom-nav-mesh-for-your-hubs-scene/
You can try adding ?debugNavmesh to the end of any room URL to see a wireframe version of the nav-mesh in that space.

I know some people used Hubs Spoke editor to generate a navmesh and export it. If I remember, Spoke also use a recast version to generate the navmesh.

Also see Hubs-Foundation/hubs-blender-exporter#194

An alternative to navmesh component from this repo is Ada's simple-navmesh-constraint component. The nice thing about it is you can add navmesh-hole class to an entity and it will dynamically forbid walking on this entity. I don't think you can do that with the navmesh component in this repo.

@vincentfretin
Copy link
Member

There is also some tips how to create a navmesh in blender in this article
https://hubs.mozilla.com/labs/creating-retro-worlds/#creating-a-navigation-mesh

@vincentfretin
Copy link
Member

There is still an addon for blender apparently, see comment Hubs-Foundation/hubs-blender-exporter#194 (comment)

@vincentfretin
Copy link
Member

Keep an eye to recast-navigation-js https://twitter.com/isaac_mason_/status/1647979252569243648 "Big thanks to Babylon.js - their recast extension was the basis of the wasm build."
and a nice demo https://twitter.com/yomotsu/status/1648326941362237440

@vincentfretin
Copy link
Member

Creating a navmesh with blender and recast will be included in the hubs addon! Hubs-Foundation/hubs-blender-exporter#213

@vincentfretin
Copy link
Member

@arvind-iyer created an aframe component that uses recast-navigation-js to bake the navmesh and export it to glb https://github.com/arvind-iyer/aframe-recast

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

No branches or pull requests

2 participants