Skip to content

Commit eea3c03

Browse files
committed
Merge remote-tracking branch 'refs/remotes/origin/master' into UNI-32630-remove-visibility-export
# Conflicts: # Assets/FbxExporters/Editor/FbxExporter.cs
2 parents 1183a55 + 04f936a commit eea3c03

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Assets/FbxExporters/Editor/FbxExporter.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -948,6 +948,13 @@ protected int ExportComponents (
948948
return -1;
949949
}
950950

951+
// Default inheritance type in FBX is RrSs, which causes scaling issues in Maya as
952+
// both Maya and Unity use RSrs inheritance by default.
953+
// Note: MotionBuilder uses RrSs inheritance by default as well, though it is possible
954+
// to select a different inheritance type in the UI.
955+
// Use RSrs as the scaling inhertiance instead.
956+
fbxNode.SetTransformationInheritType (FbxTransform.EInheritType.eInheritRSrs);
957+
951958
ExportTransform ( unityGo.transform, fbxNode, newCenter, exportType);
952959

953960
// try export mesh

0 commit comments

Comments
 (0)