Fix fbx rotation ;

pull/3175/head
hoshiryu 2020-04-27 18:35:53 +02:00
parent 60256b8c1c
commit 3fdcd0861f
1 changed files with 1 additions and 0 deletions

View File

@ -3315,6 +3315,7 @@ void FBXConverter::InterpolateKeys(aiQuatKey *valOut, const KeyTimeList &keys, c
// http://www.3dkingdoms.com/weekly/weekly.php?a=36
if (quat.x * lastq.x + quat.y * lastq.y + quat.z * lastq.z + quat.w * lastq.w < 0) {
quat.Conjugate();
quat.w = -quat.w;
}
lastq = quat;