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

[nav-agent] switch to recast-navigation-js dependency #441

Open
vincentfretin opened this issue Mar 7, 2024 · 2 comments
Open

[nav-agent] switch to recast-navigation-js dependency #441

vincentfretin opened this issue Mar 7, 2024 · 2 comments

Comments

@vincentfretin
Copy link
Member

I had unresolved issues with pathfinding on some navmesh a colleague did in blender, on some areas, it just said it couldn't find a path to the destination and I was pretty sure the avatar was on the navmesh, or sometimes it did really weird thing, calculating the longest possible path instead of going to the destination as a straight line. The issues I had may have been an issue with how the navmesh was modeled or an issue in the algorithm in three-pathfinding, or both, I don't know, that why I wanted to test an alternative with those navmeshes, but lack of time of doing so.

The aframe-extras pathfinding solution is using https://www.npmjs.com/package/three-pathfinding
There is an alternative that may be better that is https://github.com/isaac-mason/recast-navigation-js but we need to create the aframe component for it.
Maybe it's possible to keep the nav-agent and nav-mesh components but switch to this different dependency?

If anyone is working on this, let me know.

Also somewhat related:

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

No branches or pull requests

1 participant