Skip to content

Commit a4e2159

Browse files
committed
added todo to fill in missing info
1 parent 5730ae5 commit a4e2159

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Assets/FbxExporters/Editor/FbxExporter.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -840,6 +840,7 @@ private bool ExportSkeleton (SkinnedMeshRenderer skinnedMesh, FbxScene fbxScene)
840840
fbxBone.LclRotation.Set (new FbxDouble3(0,0,0));
841841
fbxBone.LclScaling.Set (new FbxDouble3 (scale.X, scale.Y, scale.Z));
842842

843+
// TODO (UNI-34294): add detailed comment about why we export rotation as pre-rotation
843844
fbxBone.SetRotationActive (true);
844845
fbxBone.SetPivotState (FbxNode.EPivotSet.eSourcePivot, FbxNode.EPivotState.ePivotReference);
845846
fbxBone.SetPreRotation (FbxNode.EPivotSet.eSourcePivot, new FbxVector4 (rotation.X, -rotation.Y, -rotation.Z));

0 commit comments

Comments
 (0)