- Edited
Importing a skeleton with Paths
Hi there, this one is weird so ill try my best to explain.
I have two paths in my skeleton with animation. I need to import my skeleton into a new project so that I can change the overall size of my skeleton. Once I import however, the paths in the imported skeleton seem to change.
I have a demonstration of what I mean. So in the first image the paths on the left side belong to the imported skeleton. The paths on the right side are part of the original skeleton.
In the next image, If I select the same animation in both skeletons you can see that the left hand side changes dramatically when it should look the same as the right hand side. Both paths have the same keys and nothing appears different except for the shape and position of the paths.
Any help on this would be much appreciated! and sorry if I've butchered the explanation.
Sorry for the trouble. Could you send your Spine project so that we can investigate it?: contact@esotericsoftware.com
Please briefly mention this forum thread URL in the email so that we know the context. Then we can have a look at what's going wrong.
I cant send the project due to confidentiality unfortunately. I think I may have found the issue.
It appears this problem only appears if the path deforms in animation. I have several animations with the paths, and the animations that don't have keyed deforms stay the same when I import them into a new project. Is there a better alternative to animating the shape of a path?
The best alternative would be to weight the path so it follows bones and animate those. This way you'll never lose keys and with less direct deformations your exports will also be lighter!
Paths - Spine User Guide
Weights view - Spine User Guide
an example of weighted path here:
Stretchyman example: Weights
(but beware this one also has direct deformations, but the docs explain how it works!)
Erika has good points, but importing data that contains deform timelines for paths should work. I tried it in 4.1.06 by exporting the stretchyman example project to JSON, then importing it back. What version are you using?