11 releases (4 breaking)

new 0.11.0 Dec 9, 2024
0.10.2 Oct 2, 2024
0.10.0 Sep 27, 2024
0.9.0 Sep 24, 2024
0.7.1 Mar 9, 2024

#256 in Game dev

Download history 369/week @ 2024-08-24 289/week @ 2024-08-31 95/week @ 2024-09-07 272/week @ 2024-09-14 452/week @ 2024-09-21 1435/week @ 2024-09-28 689/week @ 2024-10-05 693/week @ 2024-10-12 669/week @ 2024-10-19 509/week @ 2024-10-26 499/week @ 2024-11-02 484/week @ 2024-11-09 457/week @ 2024-11-16 566/week @ 2024-11-23 417/week @ 2024-11-30 844/week @ 2024-12-07

2,357 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 avian#e23d070e
0.14 0.10 0.1
0.13 0.7 x

Dependencies

~49–83MB
~1.5M SLoC