10 unstable releases (3 breaking)

0.10.2 Oct 2, 2024
0.10.1 Oct 1, 2024
0.10.0 Sep 27, 2024
0.9.0 Sep 24, 2024
0.7.1 Mar 9, 2024

#285 in Game dev

Download history 335/week @ 2024-07-29 353/week @ 2024-08-05 363/week @ 2024-08-12 345/week @ 2024-08-19 383/week @ 2024-08-26 179/week @ 2024-09-02 187/week @ 2024-09-09 214/week @ 2024-09-16 579/week @ 2024-09-23 1558/week @ 2024-09-30 542/week @ 2024-10-07 700/week @ 2024-10-14 664/week @ 2024-10-21 504/week @ 2024-10-28 498/week @ 2024-11-04 477/week @ 2024-11-11

2,218 downloads per month
Used in hammerspace

MIT/Apache

2.5MB
1.5K SLoC

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

Dependencies

~45–84MB
~1.5M SLoC