Importing an fbx in c++
I'm trying to import an fbx in c++ in the editor(not runtime). I've been looking at various posts and source files, but to no avail.
My current code is this:
I've also tried adding
after the ImportStaticMesh function, but then I get a linker error(unresolved symbols). I have included FBX, Engine, Core, UnrealEd, etc in my build file, but that doesn't help. Though I don't even know if that'll fix it.
It does create a file, but with nothing in it. Any ideas?
Also, FbxNode seems to give me an intellisense error no matter what I include.
asked Sep 14 '18 at 06:04 PM in C++ Programming
It seams that function is not externally exposed from UnrealEd module, if you look on header file:
It missing UNREALED_API which adds extern to the deceleration and exposes function in module dll preventing linker to enclose the code, you would modify this file in engine source code (which is not bad idea as long what you working on is plugin) or find other work around.
Follow this question
Once you sign in you will be able to subscribe for any updates here