Mesh Flipbook Changing Origin

Im trying to make a mesh flipbook by changing the meshid of a special mesh. It works fine accept i dont know how to center the meshes so that the flipbook can play with the same relative origin.

Heres an example of the animation in blender:

and what it looks like with a changing origin:

as you can see the model keeps moving down instead of staying in the same place. How can i fix this?

1 Like

im sorry, im not really familiar with visual effects and mesh flipbooks, maybe try logging the position before the animation and then setting it while the animation plays?