{"repo":"janhohenheim/rerecast","free":true,"listed":false,"github":"https://github.com/janhohenheim/rerecast","clone":"git clone https://github.com/janhohenheim/rerecast.git","description":"Rust port of Recast, the industry-standard navigation mesh generator used by Unreal, Unity, Godot, and other game engines.","language":"Rust","stars":161,"topics":["avian","avian3d","bevy","bevy-engine","game-development","navmesh","recast","recastnavigation"],"license":"Apache-2.0","category":"game-templates","readme_excerpt":"Rerecast Rust port of Recast, the industry-standard navigation mesh generator used by Unreal, Unity, Godot, and other game engines. What's a Navmesh? A navmesh is a mesh that says where in the level a character can walk. This information is typically used for pathfinding. Rerecast brings navmeshes in two flavors: - Polygon Mesh : A simplified mesh made up of polygons that is quick to use for pathfinding - Detail Mesh : A triangle mesh that is more detailed and can be optionally used to refine pathfinding, especially for vertical slopes and stairs. A typical detail mesh looks like this: As you can see, it does not perfectly follow terrain, but is a very good approximation for pathfinding. Usage Raw Rerecast Rerecast's API is fairly low level. As such, it's best if your game engine of choice provides an idiomatic interface to it. If you want to build such an interface on your own, or want to use Rerecast directly in general, check out the cpp comparison automated test. Bevy Rerecast To use bevy rerecast , add it to your dependencies: Then add the plugin to your app: The next step is to provide a backend . Backends decide how the current Bevy scene should be translated into a list of trimeshes that rerecast can use. There's a builtin backend called the [ Mesh3dBackendPlugin ], which will use your entities holding a [ Mesh3d ] as obstacles. We will use it in this example, but your own code should usually use a physics engine's backend instead. See the section Backends for more. T","default_branch":null,"files":null,"tree":[],"storefront":"/r/janhohenheim","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/janhohenheim/rerecast/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}