Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Simulation DotRecast - a port of Recast & Detour, navigation mesh toolset for games, Unity3D, servers, C#

Discussion in 'Projects In Progress' started by Ikpil-Choi, Oct 5, 2023.

  1. Ikpil-Choi

    Ikpil-Choi

    Joined:
    May 16, 2014
    Posts:
    7
    Hello?

    I've ported Mikko's Recast Navigation to C#. I referenced various existing ports. It took a lot of time, but I finally completed the port. It works in Unity3D as well since it supports .Net Standard 2.1!

    If you encounter any bugs while using it, please let me know at any time.
    I hope it's helpful to everyone!

    ps. for C# server!!

    repo
    - https://github.com/ikpil/DotRecast




    upload_2023-10-6_0-30-15.png
     
    kaankurkcuoglu_unity and mgear like this.
  2. Sebioff

    Sebioff

    Joined:
    Dec 22, 2013
    Posts:
    218
    Hey!

    Thanks so much for doing and releasing this!
    We had been using Unitys navmesh system for years but had a couple of problems with it.
    We've given your port a try and had it running within a few hours, without encountering any issues so far, and it has resolved the problems we had with Unitys system. Super good and very helpful!
     
  3. kevinromalavilla

    kevinromalavilla

    Joined:
    Sep 8, 2018
    Posts:
    1
    I am building a game server, MMORPG (Lot of scenes and mobs, approx. 600 mobs per scene) and I think, I will have a problem in the limitation of Crowd Manager. Any suggestions? Thank you!
     

    Attached Files:

  4. Ikpil-Choi

    Ikpil-Choi

    Joined:
    May 16, 2014
    Posts:
    7

    There are various methods, but a few come to mind:
    1. The first approach is to implement it directly.
      • I used this method because I have a lot of monsters.
    2. Another approach is to use a Crowd Manager with partitioning.
      • If the partitions are well-defined, you can even run it with multiple threads.
    3. As of my last coding and testing, You can simulate 600 agents without any difficulty.
      • Please check in the Demo's Crowd Agent Profile.
    upload_2023-10-22_22-49-29.png
     
    Last edited: Oct 22, 2023
  5. Ikpil-Choi

    Ikpil-Choi

    Joined:
    May 16, 2014
    Posts:
    7
    Please let me know if there are any issues!
    - https://github.com/ikpil/DotRecast/issues
     
  6. seominjin

    seominjin

    Joined:
    Jan 11, 2021
    Posts:
    1
    Unity의 오류로 인해 전체 내용이 손실되었습니다.
    ConvexVolumnTool, TestNavmeshTool, GameObject, nav_test에 대한 Script name?
     
  7. Ikpil-Choi

    Ikpil-Choi

    Joined:
    May 16, 2014
    Posts:
    7
    연결은 다음과 같습니다.

    nav_test -> resources/nav_test.obj
    GameObject -> UniRcNavMeshSuface
    ConvexVolumnTool -> UniRcConvexVolumeTool
    TestNavmeshTool -> UniRcTestNavMeshTool


    upload_2023-10-25_14-8-56.png
     
    seominjin likes this.