How to emulate skew axis animation?
Hello,
I put an effect on the picture "ADBE Geometry2"
and set Skew to 20.0 and Skew Axis to 45.0 grad
get from script values
_m[0 * 4 + 0] = 1.f;
_m[0 * 4 + 1] = skew_x;
_m[0 * 4 + 2] = 0.f;
_m[0 * 4 + 3] = 0.f;
_m[1 * 4 + 0] = skew_y;
_m[1 * 4 + 1] = 1.f;
_m[1 * 4 + 2] = 0.f;
_m[1 * 4 + 3] = 0.f;
_m[2 * 4 + 0] = 0.f;
_m[2 * 4 + 1] = 0.f;
_m[2 * 4 + 2] = 1.f;
_m[2 * 4 + 3] = 0.f;
_m[3 * 4 + 0] = 0.f;
_m[3 * 4 + 1] = 0.f;
_m[3 * 4 + 2] = 0.f;
_m[3 * 4 + 3] = 1.f;
I got the wrong result, who knows how to correctly get the "skew" values? Perhaps another matrix is needed here?
Thanks, for help!
