Skip to content

Commit e664c55

Browse files
committed
multiply source by dest instead of reverse
1 parent b028e03 commit e664c55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/FbxExporters/Editor/FbxExporter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1934,7 +1934,7 @@ private void TransferMotion(Transform source, Transform dest, float sampleRate,
19341934
var destLocalMatrix = GetTransformMatrix (currSampleTime, dest, destUnityCurves);
19351935

19361936
// child * parent
1937-
var mewLocalMatrix = destLocalMatrix * sourceLocalMatrix;
1937+
var mewLocalMatrix = sourceLocalMatrix * destLocalMatrix;
19381938

19391939
// FBX is transposed relative to Unity: transpose as we convert.
19401940
FbxMatrix matrix = new FbxMatrix ();

0 commit comments

Comments
 (0)