BREAKING CHANGE: aiQuaternion + / aiQuaternion to aiMatrix conversion does now conform to the 'usual' quaternion conventions. See the discussion at https://sourceforge.net/projects/assimp/forums/forum/817653/topic/3442128 for all the details.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@502 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
@@ -375,6 +375,9 @@ void ASEImporter::BuildAnimations()
|
||||
q.mValue = cur.Normalize();
|
||||
}
|
||||
nd->mRotationKeys[a] = q;
|
||||
|
||||
// need this to get to Assimp quaternion conventions
|
||||
nd->mRotationKeys[a].mValue.w *= -1.f;
|
||||
}
|
||||
}
|
||||
// copy scaling keys
|
||||
|
||||
Reference in New Issue
Block a user