fbxAxisSystem конвертирует проблему вращения - PullRequest
0 голосов
/ 02 июня 2019

Как я могу конвертировать вращение тоже? Я пытаюсь изменить ось, используя fbxAxisSystem и ConvertScene в fbxsdk, но только позиция была преобразована.


        FbxAxisSystem SceneAxisSystem = scene->GetGlobalSettings().GetAxisSystem();
        FbxAxisSystem ourAxisSystem(FbxAxisSystem::EPreDefinedAxisSystem::eMayaZUp);        
        if (SceneAxisSystem != ourAxisSystem)
        {
            ourAxisSystem.ConvertScene(scene);
        }
        FbxDouble3 transform = child->LclTranslation.Get(); //this values   converted
        FbxDouble3 rotation = child->LclRotation.Get(); //this not
        I read that only "pre rotation" convert but what i should do for convert this rotation too?

...