提交 559f05a4 编写于 作者: R Rémi Arnaud

Merge pull request #416 from fl4re/fix/maya-constraint-export

Fixed constraint transform
......@@ -2167,8 +2167,8 @@ namespace COLLADAMaya
MEulerRotation rotation;
rotation = pxJoint->localPose.eActor0.rotation;
getPhysXExporter().exportRotation(rotation, ATTR_ROTATE);
getPhysXExporter().exportTranslationWithoutConversion(translation, ATTR_TRANSLATE);
getPhysXExporter().exportRotation(rotation, ATTR_ROTATE);
}
};
......@@ -2192,8 +2192,8 @@ namespace COLLADAMaya
MEulerRotation rotation;
rotation = pxJoint->localPose.eActor1.rotation;
getPhysXExporter().exportRotation(rotation, ATTR_ROTATE);
getPhysXExporter().exportTranslationWithoutConversion(translation, ATTR_TRANSLATE);
getPhysXExporter().exportRotation(rotation, ATTR_ROTATE);
}
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册