diff --git a/src/osgGA/UFOManipulator.cpp b/src/osgGA/UFOManipulator.cpp index 5f1877088..49e0aea5f 100644 --- a/src/osgGA/UFOManipulator.cpp +++ b/src/osgGA/UFOManipulator.cpp @@ -132,7 +132,7 @@ void UFOManipulator::setByInverseMatrix( const osg::Matrixd &invmat) osg::Matrixd UFOManipulator::getMatrix() const { - return (_offset * _matrix); + return (osg::Matrix::inverse(_offset) * _matrix); } osg::Matrixd UFOManipulator::getInverseMatrix() const