- Home /
Sprites movement no longer works if transform is applied to a sprite animation
So, strange issue here. I have a 2D game using Physics2D and the 2D Colliders. I have Walk, Run, Jump, and idle animations all working fine. These animations are all multi-sprite animations with no manipulation in the Animation timeline other than Samples (speed).
Now the problem comes when I try to add another multi-sprite animation. This is my die animation and I'm animating an effect similar to a balloon flying around as the air escapes. Because the sprite needs to fly all over the screen for this animation to be effective, I need to transform the position of the sprites during the animation. As soon as I transform any value and try to run the game, the sprite stops moving. All of the animations still work such as jump, idle, etc; but the player just stays in place.
This is repeatable and I've seen it on more than one sprite in the same scenario. I've searched a bunch and cannot find an answer. Does anyone know of a solution for this? I'm hoping its something simple that I'm just missing.
Thanks!