kbengine_ue4_demo icon indicating copy to clipboard operation
kbengine_ue4_demo copied to clipboard

Generating navmeshes

Open jesst3r opened this issue 8 years ago • 10 comments

Greetings, is it possible to generate server navmeshes for Unreal Engine 4? Thank you!

jesst3r avatar Apr 19 '17 21:04 jesst3r

UE4 and KBE, all use RecastNavigation to navigate:

1:reference https://answers.unrealengine.com/questions/226395/how-can-i-use-navmesh-data-in-server-side-2.html

https://answers.unrealengine.com/questions/446294/%E5%A6%82%E4%BD%95%E5%AF%BC%E5%87%BAue4%E7%9A%84%E5%AF%BC%E8%88%AA%E6%95%B0%E6%8D%AE.html

2: This is a mmorpg commercial project using UE4 and KBE. In KBE do some compatibility, based on the first one. https://github.com/acatadog/kbengine

3: Use the command(ExportNavigation) of UE4, Export the obj file, and then use the RecastNavigation tool to generate navmesh.

kbengine avatar Apr 20 '17 03:04 kbengine

2: This is a mmorpg commercial project using UE4 and KBE. In KBE do some compatibility, based on the first one. https://github.com/acatadog/kbengine

这个项目是啥意思?这个需要修改ue4的源码的

mengdada avatar May 08 '17 06:05 mengdada

static class FNavigationGeomExec : private FSelfRegisteringExec { public: /** Console commands, see embeded usage statement / virtual bool Exec( UWorld InWorld, const TCHAR Cmd, FOutputDevice& Ar ) override { #if ALLOW_DEBUG_FILES && !(UE_BUILD_SHIPPING || UE_BUILD_TEST) bool bCorrectCmd = FParse::Command(&Cmd, TEXT("ExportNavigation"));

kbengine avatar May 09 '17 11:05 kbengine

一个可用的导出UE4 navmesh工具 https://github.com/aurelien-rainone/go-detour

kbengine avatar May 10 '17 04:05 kbengine

一个关于导出navmesh的讨论: http://bbs.kbengine.org/forum.php?mod=viewthread&tid=3716&extra=page%3D1

kbengine avatar Jun 05 '17 03:06 kbengine

https://github.com/darkwere/ServerRecast http://bbs.kbengine.org/forum.php?mod=viewthread&tid=5574&extra=page%3D1

kebiao avatar Mar 07 '18 02:03 kebiao

Morning folks,

There is a command named "ExportNavigation" which generates a navigation mesh for recast which you can later use to export a bin file from -> https://imgur.com/4IfO5Pv

Cheers.

4ifo5pv

H1X4Dev avatar Apr 11 '18 16:04 H1X4Dev

@H1X4Dev , Hi, may I know where does this screen shot from? Is it from UE4 or KBE?

husha1993 avatar Jun 12 '18 04:06 husha1993

@husha1993 That's UE4.

H1X4Dev avatar Jun 12 '18 09:06 H1X4Dev

@H1X4Dev Thanks. I typed the "ExportNavigation" in the ue4 command console and it generated a .obj file. While I tried to open the .obj in blender, I found nothing(mesh) displayed. Have you tried to open the .obj file showed in the screen shot? May I know how do you export a bin file from the .obj file?

husha1993 avatar Jun 12 '18 22:06 husha1993