Basically, I have two different types of sword sprite: some that are vertical, some that are at a 45 degree angle. I have animated a holder GameObject called “Weapon” at 0 degrees, but I would like to be able to edit the animation so it is at 45 degrees if the sprite is one of the ones that is naturally at 45 degrees.
Pseudocode:
if (isVertical)
{
keyframe.rotation = 0;
}
else
{
keyframe.rotation = 45;
}
I just really don’t want to have to make a bunch of new animation states and blend trees for a type of weapon that is just tilted a little bit. If there’s a way to do this, let me know, but I am also open to other simple solutions. Thank you!
(I tried just rotating the tilted sprites by 45 degrees in GIMP, but they turned out very blurry).