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

#1508 in Game dev

Download history 502/week @ 2024-10-29 499/week @ 2024-11-05 441/week @ 2024-11-12 493/week @ 2024-11-19 568/week @ 2024-11-26 392/week @ 2024-12-03 666/week @ 2024-12-10 827/week @ 2024-12-17 575/week @ 2024-12-24 576/week @ 2024-12-31 386/week @ 2025-01-07 416/week @ 2025-01-14 553/week @ 2025-01-21 558/week @ 2025-01-28 531/week @ 2025-02-04 482/week @ 2025-02-11

2,195 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