Skip to main content
Participant
September 19, 2019
Question

Interpolate matrix exported with texture atlas

  • September 19, 2019
  • 0 replies
  • 304 views

Now I'm trying to play animation in game engine, reading texture atlas data exported in Animate.

I read the "animation.json" file to generate mesh for animation. Since "DecomposedMatrix" lacks skew data, I use the "Matrix3D" property.

The newest Animate version export only key frames instead of all frames, so I need to make interpolation between two key frames.

But when I using normal interpolation algorithm between two "Matrix3D" from two key frames, the animation seems different with origonal animation.  When I use texture atlas data exported from older version of Animate, which exports all frames, it works well.

So, what is the right way to make interpolation for matrix? Do I need to decompose the matrix into position, rotation, scale and skew data and make interpolation seperately?

This topic has been closed for replies.