diff --git a/Packages/VRM10/Runtime/IO/Vrm10Exporter.cs b/Packages/VRM10/Runtime/IO/Vrm10Exporter.cs index 6555d76d8..ae243a276 100644 --- a/Packages/VRM10/Runtime/IO/Vrm10Exporter.cs +++ b/Packages/VRM10/Runtime/IO/Vrm10Exporter.cs @@ -781,11 +781,13 @@ namespace UniVRM10 static UniGLTF.Extensions.VRMC_vrm_expressions_node_transform.NodeTransformBind ExportNodeTransformBinding(NodeTransformBinding binding, Func getIndex) { + var translation = ReverseX(binding.OffsetTranslation); + var rotation = ReverseX(binding.OffsetRotation); return new UniGLTF.Extensions.VRMC_vrm_expressions_node_transform.NodeTransformBind { Node = getIndex(binding.RelativePath), - Translation = new float[] { binding.OffsetTranslation.x, binding.OffsetTranslation.y, binding.OffsetTranslation.z }, - Rotation = new float[] { binding.OffsetRotation.x, binding.OffsetRotation.y, binding.OffsetRotation.z, binding.OffsetRotation.w }, + Translation = new float[] { translation.x, translation.y, translation.z }, + Rotation = new float[] { rotation.x, rotation.y, rotation.z, rotation.w }, Scale = new float[] { binding.TargetScale.x, binding.TargetScale.y, binding.TargetScale.z }, }; }