You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I've recently added support for Spriter to my game via this sprite engine, but I had a peculiar issue when it was all set up.. everything was placed properly, but things were spinning crazy like on their pivot points.
What fixed it for me, was to dig into angleinfo.cpp and have the spinDirection swap between 1/!1 if reverseAngleOnLoad was used when loading (as I set that to false for my game.) I assume that the direction of the animation's interpolation isn't taken into account when it's reversed at load, and things are 'snapping' the wrong way?
The text was updated successfully, but these errors were encountered:
@MrSiggler I have the same issue because I have everything set to false. setting spin to *= -1 does not seems to work for me. Are you using opengl to render? what does your matrix looks like sending to the gpu. I think I do something wrong. I do have the sprites on the right position but I think the rotation matrix is doing something weird.
Hey, I've recently added support for Spriter to my game via this sprite engine, but I had a peculiar issue when it was all set up.. everything was placed properly, but things were spinning crazy like on their pivot points.
What fixed it for me, was to dig into angleinfo.cpp and have the spinDirection swap between 1/!1 if reverseAngleOnLoad was used when loading (as I set that to false for my game.) I assume that the direction of the animation's interpolation isn't taken into account when it's reversed at load, and things are 'snapping' the wrong way?
The text was updated successfully, but these errors were encountered: