Qt 3D spinning CAD model with point of rotation center of CAD model
Unsolved
General and Desktop
-
Hi everyone,
I am able to load an external CAD file to Qt 3D by using the same idea as implemented in the barrel class in the materials demo (https://doc.qt.io/qt-5/qt3d-materials-cpp-example.html) , and tried to rotate it based on the example simple-cpp (using the QPropertyAnimation class) but the point of rotation is always the lower right corner. I tried to translate that point to the center of the CAD file but with no success. Any thoughts/ideas ? Thanks in advance.