HolographicWings / LethalSDK-Unity-Project

Unity Project using Lethal Company SDK
MIT License
43 stars 6 forks source link

Issue regarding navigation paths #45

Open rainbow137 opened 10 months ago

rainbow137 commented 10 months ago

Are all these "off mesh links" required to be set up manually? I can't imagine the workload involved, as I'm about to create a Minecraft map. W1T%}ONVVNGLF{`EIE8U%CO 1D22{IB9~ZUBWXZHZ{XS`P1 {WR0OBA43I EK4N}_TMXBJ

rainbow137 commented 10 months ago

Just like in the case. W1T%}ONVVNGLF{`EIE8U%CO

HolographicWings commented 10 months ago

@rainbow137 Yes, i had to place them manually You may be able to tweak the nav mesh controller to see if you can fix it automatically i don't recomment to place too much off mesh or nav mesh link, that may produce heavy lags if you place them everywhere

rainbow137 commented 10 months ago

@rainbow137 Yes, i had to place them manually You may be able to tweak the nav mesh controller to see if you can fix it automatically i don't recomment to place too much off mesh or nav mesh link, that may produce heavy lags if you place them everywhere

Alright, I'll try setting it only on the main routes, perhaps it will significantly reduce the workload.

rainbow137 commented 10 months ago

I found that the 'generate links' option in 'nav mesh surface' can automatically generate navigation paths. However, what troubles me is that, according to the official documentation, it seems to only support navigation in the same height, allowing jumping and descending, but not upward navigation (i.e., bidirectional navigation). It would be great if there is a way to retrieve the generated 'links' and modify them to enable bidirectional navigation. 17__ZRFR1_5SYURJU228U(J 6EB}MDFA0MMQKG4ZWBB~II4

是的,我不得不手动放置它们 您可以调整导航网格控制器,看看是否可以自动修复它 我不会重新评论放置太多的网格或导航网格链接,如果您将它们放在任何地方,这可能会产生严重的滞后

rainbow137 commented 10 months ago

This is the official documentation. https://docs.unity.cn/cn/2022.3/Manual/nav-BuildingOffMeshLinksAutomatically.html

rainbow137 commented 10 months ago

I have successfully resolved it! Although the method I used may seem a bit clumsy (directly modifying the bidirectional property of each link in the NavMesh data externally), it will certainly greatly facilitate the configuration of navigation paths. LD _E`D~ZMFDG90 P9QIC0D