Код: Выделить всё
for (int i = 0; i < pAnimation->mNumMorphMeshChannels; ++i)
{
if (nodeName + "*0" == pAnimation->mMorphMeshChannels[i]->mName.C_Str())
{
std::map morphMeshKeys;
for (int j = 0; j < pAnimation->mMorphMeshChannels[i]->mNumKeys; ++j)
{
std::cout mMorphMeshChannels[i]->mName.data mKeys[j].mTime mKeys->mValues mKeys->mWeights
Подробнее здесь: [url]https://stackoverflow.com/questions/78932946/how-can-i-use-assimps-aimeshmorphkey-to-animate-a-characters-facial-expression[/url]