6 releases

0.8.0 Jul 5, 2024
0.8.0-rc.4 Jun 29, 2024
0.7.1 Mar 9, 2024

#1254 in Game dev

Download history 115/week @ 2024-03-31 89/week @ 2024-04-07 100/week @ 2024-04-14 147/week @ 2024-04-21 93/week @ 2024-04-28 88/week @ 2024-05-05 92/week @ 2024-05-12 103/week @ 2024-05-19 148/week @ 2024-05-26 146/week @ 2024-06-02 292/week @ 2024-06-09 190/week @ 2024-06-16 94/week @ 2024-06-23 309/week @ 2024-06-30 218/week @ 2024-07-07 183/week @ 2024-07-14

864 downloads per month
Used in hammerspace

MIT/Apache

2.5MB
1K 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

~42–80MB
~1.5M SLoC