DotRecast.Recast
2024.4.1
dotnet add package DotRecast.Recast --version 2024.4.1
NuGet\Install-Package DotRecast.Recast -Version 2024.4.1
<PackageReference Include="DotRecast.Recast" Version="2024.4.1" />
paket add DotRecast.Recast --version 2024.4.1
#r "nuget: DotRecast.Recast, 2024.4.1"
// Install DotRecast.Recast as a Cake Addin #addin nuget:?package=DotRecast.Recast&version=2024.4.1 // Install DotRecast.Recast as a Cake Tool #tool nuget:?package=DotRecast.Recast&version=2024.4.1
DotRecast
DotRecast is C# Recast & Detour, a port of recastnavigation and recast4j to the C# language.
If you'd like to support the project, we'd appreciate starring(⭐) our repos on Github for more visibility.
🚀 Features
- 🤖 Automatic - Recast can generate a navmesh from any level geometry you throw at it
- 🏎️ Fast - swift turnaround times for level designers
- 🧘 Flexible - detailed customization options and modular design let you tailor functionality to your specific needs
- 🚫 Dependency-Free - building Recast & Detour only requires a .NET compiler
- 💪 Industry Standard - Recast powers AI navigation features in Unity, Unreal, Godot, O3DE and countless AAA and indie games and engines
Recast Navigation is divided into multiple modules, each contained in its own folder:
- DotRecast.Core : Core utils
- DotRecast.Recast : Navmesh generation
- DotRecast.Detour : Runtime loading of navmesh data, pathfinding, navmesh queries
- DotRecast.Detour.TileCache : Navmesh streaming. Useful for large levels and open-world games
- DotRecast.Detour.Crowd : Agent movement, collision avoidance, and crowd simulation
- DotRecast.Detour.Dynamic : robust support for dynamic nav meshes combining pre-built voxels with dynamic objects which can be freely added and removed
- DotRecast.Detour.Extras : simple tool to import navmeshes created with A* Pathfinding Project
- DotRecast.Recast.Toolset : all modules
- DotRecast.Recast.Demo : Standalone, comprehensive demo app showcasing all aspects of Recast & Detour's functionality
- Tests : Unit tests
⚡ Getting Started
- To build or integrate into your own project, please check out BuildingAndIntegrating.md
- To create a NavMesh, please check out RecastSoloMeshTest.cs
- To test pathfinding, please check out FindPathTest.cs
- To watch the demo play video, please check out Demo Video
⚙ How it Works
Recast constructs a navmesh through a multi-step mesh rasterization process.
- First Recast rasterizes the input triangle meshes into voxels.
- Voxels in areas where agents would not be able to move are filtered and removed.
- The walkable areas described by the voxel grid are then divided into sets of polygonal regions.
- The navigation polygons are generated by re-triangulating the generated polygonal regions into a navmesh.
You can use Recast to build a single navmesh, or a tiled navmesh. Single meshes are suitable for many simple, static cases and are easy to work with. Tiled navmeshes are more complex to work with but better support larger, more dynamic environments. Tiled meshes enable advance Detour features like re-baking, heirarchical path-planning, and navmesh data-streaming.
📚 Documentation & Links
DotRecast Links
Official Links
🅾 License
DotRecast is licensed under ZLib license, see LICENSE.txt for more information.
📹 Demo Video
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- DotRecast.Core (>= 2024.4.1)
-
net6.0
- DotRecast.Core (>= 2024.4.1)
-
net7.0
- DotRecast.Core (>= 2024.4.1)
-
net8.0
- DotRecast.Core (>= 2024.4.1)
-
net9.0
- DotRecast.Core (>= 2024.4.1)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on DotRecast.Recast:
Package | Downloads |
---|---|
DotRecast.Detour.Extras
DotRecast - a port of Recast Detour, Industry-standard navigation mesh toolset for .NET, C#, Unity3D, games, servers |
|
DotRecast.Detour.TileCache
DotRecast - a port of Recast Detour, Industry-standard navigation mesh toolset for .NET, C#, Unity3D, games, servers |
|
DotRecast.Detour.Dynamic
DotRecast - a port of Recast Detour, Industry-standard navigation mesh toolset for .NET, C#, Unity3D, games, servers |
|
DotRecast.Recast.Toolset
DotRecast - a port of Recast Detour, Industry-standard navigation mesh toolset for .NET, C#, Unity3D, games, servers |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on DotRecast.Recast:
Repository | Stars |
---|---|
amerkoleci/alimer
Cross-platform .NET 8 C# 12 game engine.
|
Version | Downloads | Last updated |
---|---|---|
2024.4.1 | 109 | 11/19/2024 |
2024.3.1 | 644 | 7/8/2024 |
2024.2.3 | 686 | 6/3/2024 |
2024.2.2 | 298 | 5/18/2024 |
2024.2.1 | 324 | 5/4/2024 |
2024.1.3 | 641 | 2/13/2024 |
2024.1.2 | 270 | 2/4/2024 |
2024.1.1 | 579 | 1/4/2024 |
2023.11.1 | 492 | 11/20/2023 |
2023.10.7 | 392 | 10/28/2023 |
2023.10.6 | 312 | 10/16/2023 |
2023.10.5 | 337 | 10/16/2023 |
2023.10.4 | 322 | 10/16/2023 |
2023.10.3 | 318 | 10/12/2023 |
2023.10.2 | 337 | 10/7/2023 |
2023.10.1 | 317 | 10/3/2023 |