Closed zenyaz closed 3 years ago
The problem is a missing minus in the x rotation. Just fixed it for our artists.
Open the plugin folder, open export_datasmith.py with a text editor, search for
rot_fix = np.array((to_deg, -to_deg, to_deg))
and change it to
rot_fix = np.array((-to_deg, -to_deg, to_deg))
save the file. Restart Blender
Hello guys! sorry for the delay! Thanks zenyaz for spotting the issue and thanks @RumbleballTheReal for proposing the fix. I will integrate it because I have seen it is also affecting other people.
Just commited the fix you proposed, so i'm closing this for now.
I have 2 types of objects
After export to Datasmith i have following scene:
I opened anim_new.json and noticed that rotation coded wrong. When i changed in json file automatically "-90"->"90" for all keyframes, then UE plays everything correctly.