ソースを参照

OgreImporter: fix relative to absolute transform and Jack's walk animation

1vanK 9 年 前
コミット
49a25f787c

+ 1 - 1
Source/Tools/OgreImporter/OgreImporter.cpp

@@ -999,7 +999,7 @@ void WriteOutput(const String& outputFileName, bool exportAnimations, bool rotat
                         Quaternion rot(angle, axisVec);
 
                         // Transform from bind-pose relative into absolute
-                        pos = bone->bindPosition_ + bone->bindRotation_ * pos;
+                        pos = bone->bindPosition_ + pos;
                         rot = bone->bindRotation_ * rot;
 
                         newKeyFrame.time_ = keyFrame.GetFloat("time");

BIN
bin/Data/Models/Jack.mdl


BIN
bin/Data/Models/Jack_Walk.ani