kbengine_ue4_demo
kbengine_ue4_demo copied to clipboard
Generating navmeshes
Greetings, is it possible to generate server navmeshes for Unreal Engine 4? Thank you!
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.
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的源码的
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"));
一个可用的导出UE4 navmesh工具 https://github.com/aurelien-rainone/go-detour
一个关于导出navmesh的讨论: http://bbs.kbengine.org/forum.php?mod=viewthread&tid=3716&extra=page%3D1
https://github.com/darkwere/ServerRecast http://bbs.kbengine.org/forum.php?mod=viewthread&tid=5574&extra=page%3D1
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.

@H1X4Dev , Hi, may I know where does this screen shot from? Is it from UE4 or KBE?
@husha1993 That's UE4.
@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?