vleue / vleue_navigator

https://vleue.github.io/vleue_navigator/
Apache License 2.0
174 stars 13 forks source link
bevy bevy-plugin hacktoberfest path-planning pathfinding rust

Navigation for Bevy with NavMesh

MIT/Apache 2.0 Release Doc Crate

Navigation mesh for Bevy using Polyanya.

map with many points finding their paths

Check out the WASM demos

Usage

From a prebuilt NavMesh

Loading a mesh from a gLTF file, then building a NavMesh from it and using it for getting paths. See gltf.rs and NavMesh::from_bevy_mesh.

From obstacle components

Spawn entities marked as obstacles, create the NavMesh live from them. See auto_navmesh_aabb and NavMeshUpdaterPlugin.

Example videos

Pathfinding many agents.

Parameters for NavMesh generation

Reading list

Pathfinding:

NavMesh building:

To Implement

Bevy Supported Versions

Bevy vleue_navigator
0.14 0.8
0.13 0.7