diff --git a/dart/utils/sdf/SdfParser.cpp b/dart/utils/sdf/SdfParser.cpp index 190323dad1a13..1ba6cae543aaf 100644 --- a/dart/utils/sdf/SdfParser.cpp +++ b/dart/utils/sdf/SdfParser.cpp @@ -1268,7 +1268,7 @@ static void readAxisElement( Eigen::Vector3d xyz = getValueVector3d(axisElement, "xyz"); if (useParentModelFrame) { - xyz = _parentModelFrame * xyz; + xyz = _parentModelFrame.rotation() * xyz; } axis = xyz;