|
Recast Navigation
Navigation-mesh Toolset for Games
|

Recast is state of the art navigation mesh construction toolset for games.
Recast is...
Recast constructs a navmesh through a multi-step rasterization process:
Recast is accompanied by Detour, a path-finding and spatial reasoning toolkit. You can use any navigation mesh with Detour, but of course the data generated with Recast fits perfectly.
Detour offers a simple static navmesh data representation which is suitable for many simple cases. It also provides a tiled navigation mesh representation, which allows you to stream of navigation data in and out as the player progresses through the world and regenerate sections of the navmesh data as the world changes.
You can find a comprehensive demo project in the RecastDemo folder. It's a kitchen sink demo showcasing all the functionality of the library. If you are new to Recast & Detour, check out Sample_SoloMesh.cpp to get started with building navmeshes and NavMeshTesterTool.cpp to see how Detour can be used to find paths.
RecastDemo uses premake5 to build platform specific projects. Download it and make sure it's available on your path, or specify the path to it.
RecastDemo folder and run premake5 gmake2RecastDemo/Build/gmake2 and run makeRecastDemo/Bin and run ./RecastDemoSDL2.framework in RecastDemo/BinRecastDemo folder and run premake5 xcode4Build/xcode4/recastnavigation.xcworkspaceRecastDemo\Contrib. Rename the SDL folder such that the path RecastDemo\Contrib\SDL\lib\x86 is valid.RecastDemo folder and run premake5 vs2022Build/vs2022/recastnavigation.sln.RecastDemo as the startup project, build, and run.RecastDemo/Bin/It is recommended to add the source directories DebugUtils, Detour, DetourCrowd, DetourTileCache, and Recast into your own project depending on which parts of the project you need. For example your level building tool could include DebugUtils, Recast, and Detour, and your game runtime could just include Detour.
If you are using the vcpkg dependency manager you can download and install Recast with:
Check out the Project Roadmap to see what features and functionality you might be able to help with, and the Contributing doc for guidance on making contributions.
Recast & Detour is licensed under ZLib license, see License.txt for more information.