-
Notifications
You must be signed in to change notification settings - Fork 758
How to configure Fbx import settings? #488
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
Comments
Hi, the python api maps 1:1 with the C++ one, so you can get the infos from official docs; https://api.unrealengine.com/INT/API/Editor/UnrealEd/Factories/UFbxImportUI/index.html But honestly that docs are not so handy. Just print the properties() return value to get the list of related options. In your case you would end with fbx_factory.ImportUI.StaticMeshImportData.bConvertScene |
Cool, man. |
Hi, I just tried the StaticMeshImportData. I also tried the imported model's coordinator was not converted yet. However, if i do it mannually, check or uncheck the 'convert scene' would affect the result. |
You need to choose the right *ImportData object based on what you are importing. If you are importing a skeletal mesh you will use SkeletalMeshImportData and so on. |
Here are the codes. Thx |
Your code is right, but are you sure you do not have z-up already in maya ? 'convert scene' will make a check about the axis data available in the fbx file |
Nope On the other hand, if I imported it by script, whether i set bConvertScene to True or False, the result was just same as I imported it manually and unchecked 'convert scene' |
All right, |
I have made a little modification to latest code. Can you try it ? |
Yes, no problem. |
Just clone the master branch |
Okay, after I finish the texture part and shader part with my code. |
Hey Bro, I got another question: I couldn't find 'set_material_static_switch_parameter' method with material instance. However , I found there was a pull request about it. |
One more question: If I created a material instance with How can I create a instance with other name rather than 'ExampleA.ExampleA' (but in the path of '/Game/Content/Materials/ExampleA/')? |
Hi, you can use asset renaming: https://github.com/20tab/UnrealEnginePython/blob/master/docs/ManagingAssets.md#movingrenaming-assets |
Hi all,
I am trying to do something with importing heaps of fbx files coming from maya automatically.
I just read some provieded docs and scripts, and followed the Kaiju example.
However, I just found there is no docs talking about how to set other import settings like 'convert scene', 'combine meshes'.
And I also tried
which seemed not working.
I am just wondering how I can configure other settings while importing fbx files, and where I can get all api things.
Anyone can help me?
Thanks
The text was updated successfully, but these errors were encountered: