-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
eg.animate - Support rotate3d and fix interpolation bug on rotation. #166
Comments
More information about second issue above. When matrix contains "rotate" or "skew" which have degree value, It can not be interpolated. Below screen-shot shows drawing of movements of box for animate.
In other words, But I couldn't find the solution for decompsing 4x4 matrix(3d) (matrix3d --> transform string)although 3x3 matrix(2d) could be found.
So velocity may not act as you expected. How about below ? Is result is same as expected? And several consideration. It can be solved by (matrix * transform string). This will be added later. |
Solution When these (below) are applied, we may solve the problem.
|
matrix version. Ref: naver#166
Description
2 Things
1. Support rotate3d, rotateX, rotateY, rotateZ
AS IS: support only "rotate"
2. Fix interpolation bug on rotating calculation.(matrix)
The
AS-IS
way to interpolate the value to get an intermediate values is not applicable on rotation.AS IS way
I found the solution, It decompose a matrix to
transform information
(eg. translateX(10px) rotateY(20deg)) but it is not applicable to 3d. We need to check other solution.The text was updated successfully, but these errors were encountered: