Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generating navmeshes #5

Open
jesst3r opened this issue Apr 19, 2017 · 10 comments
Open

Generating navmeshes #5

jesst3r opened this issue Apr 19, 2017 · 10 comments

Comments

@jesst3r
Copy link

jesst3r commented Apr 19, 2017

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

@kbengine
Copy link
Owner

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.

@mengdada
Copy link

mengdada commented May 8, 2017

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的源码的

@kbengine
Copy link
Owner

kbengine commented May 9, 2017

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
Copy link
Owner

kbengine commented May 10, 2017

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

@kbengine
Copy link
Owner

kbengine commented Jun 5, 2017

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

@kebiao
Copy link
Collaborator

kebiao commented Mar 7, 2018

@H1X4Dev
Copy link

H1X4Dev commented Apr 11, 2018

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

@husha1993
Copy link

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

@H1X4Dev
Copy link

H1X4Dev commented Jun 12, 2018

@husha1993 That's UE4.

@husha1993
Copy link

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants