About saving the osg::MatrixTransform parameter. #1314
Replies: 2 comments
-
Through observation I find that the problem is related to scaling, if not scaling then using the saved parameter node attitude is normal, why? Thank you! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi, please consider use Matrix::decompose() instead of just getRotate() / getScale(). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
Now I'm trying to save the parameters of a matrix for the next run of the program, but the rotation error in using the saved data is very large and it is skewed in a fixed direction every time. What am I doing wrong, I am getting the saved data and using the block of code that saves the data. Thank you!
Adjusted posture:

The gesture after calling setProperty:
Beta Was this translation helpful? Give feedback.
All reactions