-
Hello, I would like to ask what do I wrong. My goal is to reproduce an FBX file exported from Unreal in FBX format, it looks like this in ASSXML:
So I tried to mimic this structure with the following code:
but the output is only the root node despite it prints a "1" for the question HasAnimations() :
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
First thing I saw: the number of animation keys for transformations, rotations and scaling are 10 in your example, but 6 in the xml-file. And the nodeanim-instances are not connected to your model. You need to add the to a NodeAnim and add them to the aiScene instance. Then you will be able to see it in your exported XML-File. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the help! The first xml is the dump of the desired content which I want to mimic in format, so the length is not interesting, I don't want to reproduce the content but the format only. I tried to connect the nodeanim instance, you are right it was missing, but adding the following right before the export part:
did not solve the issue. |
Beta Was this translation helpful? Give feedback.
Thanks for the help!
The first xml is the dump of the desired content which I want to mimic in format, so the length is not interesting, I don't want to reproduce the content but the format only.
I tried to connect the nodeanim instance, you are right it was missing, but adding the following right before the export part:
did not solve the issue.