I'm trying to understand the values I see in Spine JSON for scale keyframes. According to the docs:
scale keyframe attributes:
- x: The bone's X scale relative to the setup pose. Assume 1 if omitted.
- y: The bone's X scale relative to the setup pose. Assume 1 if omitted.
I can't figure out what "relative" means, though. For example, if I start out with zero for scale x and y in the set up pose, and want set the scale keyframe data to go from scale (0, 0) to scale (1, 1), I don't get what I expect at all! When I load this data into the Spine editor, I get the object starting at scale (-1, -1) and ending at scale (0,0).
Here's another unintuitive example:
Start with a bone at scale (0.9, 3). Let's say you want that bone to be at scale (1, 1) at the end of the animation. What value would you use as the last scale keyframe? . . . Somehow, it's (1.1, -1).
What is the formula?