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 gmake2
RecastDemo/Build/gmake2
and run make
RecastDemo/Bin
and run ./RecastDemo
SDL2.framework
in RecastDemo/Bin
RecastDemo
folder and run premake5 xcode4
Build/xcode4/recastnavigation.xcworkspace
RecastDemo\Contrib
. Rename the SDL folder such that the path RecastDemo\Contrib\SDL\lib\x86
is valid.RecastDemo
folder and run premake5 vs2022
Build/vs2022/recastnavigation.sln
.RecastDemo
as the startup project, build, and run.RecastDemo/Bin/
See Integration.md
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.