12 releases (4 breaking)

0.11.1 Dec 21, 2024
0.11.0 Dec 9, 2024
0.10.2 Oct 2, 2024
0.10.0 Sep 27, 2024
0.7.1 Mar 9, 2024

#1416 in Game dev

Download history 524/week @ 2024-09-22 1537/week @ 2024-09-29 556/week @ 2024-10-06 698/week @ 2024-10-13 662/week @ 2024-10-20 510/week @ 2024-10-27 501/week @ 2024-11-03 481/week @ 2024-11-10 458/week @ 2024-11-17 563/week @ 2024-11-24 362/week @ 2024-12-01 685/week @ 2024-12-08 616/week @ 2024-12-15 782/week @ 2024-12-22 556/week @ 2024-12-29 333/week @ 2025-01-05

2,367 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 avian
0.15 0.11.1 0.2
0.14 0.10 0.1
0.13 0.7 x

Dependencies

~48–82MB
~1.5M SLoC