Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1602928

Browse filesBrowse files
N37: grid_pathfinding (rust-gamedev#1154)
Co-authored-by: Joe Clay <27cupsofcoffee@gmail.com>
1 parent 055b095 commit 1602928
Copy full SHA for 1602928

File tree

1 file changed

+25
-0
lines changed
Filter options

1 file changed

+25
-0
lines changed

‎content/news/037/index.md

Copy file name to clipboardExpand all lines: content/news/037/index.md
+25Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -614,6 +614,31 @@ similarly to [`bevy_ecs`].
614614
[`System`]: https://docs.rs/edict/0.2.0-rc.3/edict/system/trait.System.html
615615
[`bevy_ecs`]: https://crates.io/crates/bevy_ecs
616616

617+
### [grid_pathfinding]
618+
619+
[grid_pathfinding] is a new pathfinding crate aimed at providing a fast,
620+
out-of-the-box system for pathfinding on various types of grids. While the
621+
current 0.1.1 release is not very configurable yet, the idea is to make the
622+
crate more malleable working towards a 0.2.0 release so that it will support
623+
a range of grids (4-connected, 8-connected, weighted, etc.) as well as
624+
heuristics. Specifically, [grid_pathfinding] 0.1 assumes a uniform-cost
625+
8-grid with a Chebyshev cost metric and heuristic. More long-term goals are
626+
support for multi-tile and multi-agent pathfinding variants.
627+
628+
The current implementation is based on [Jump Point Search] with
629+
[improved pruning rules]. On top of this, [connected components] are used to
630+
avoid flood-filling behaviour if no path exists - see the
631+
[documentation][gp-docs] and [examples][gp-examples] for information on
632+
how to manage these components. Especially when simulating many agents in
633+
real-time, using components can make a big difference.
634+
635+
[grid_pathfinding]: https://github.com/tbvanderwoude/grid_pathfinding
636+
[gp-docs]: https://docs.rs/grid_pathfinding/0.1.1/grid_pathfinding/
637+
[gp-examples]: https://github.com/tbvanderwoude/grid_pathfinding/tree/main/examples
638+
[Jump Point Search]: https://en.wikipedia.org/wiki/Jump_point_search
639+
[connected components]: https://en.wikipedia.org/wiki/Component_(graph_theory)
640+
[improved pruning rules]: https://www.researchgate.net/publication/287338108_Improving_jump_point_search
641+
617642
## Popular Workgroup Issues in Github
618643

619644
<!-- Up to 10 links to interesting issues -->

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.