4. How can i copy one mesh grid and paste it on another mesh?
About Q4, I also get to a situation that I want this to happen. It could be much more better if spine could provide a more straightforward way to copy a mesh configuration to another attachment directly.
I am working on a scene and there are multiple same objects on the stage. e.g. Traffic light, plants, etc
In order to save texture space. I generally want them to be mesh packed with polygon packing. It is very important that they point to the same image with same mesh configuration otherwise spine will export multiple instances for each of them.
The current workflow for this is to clone the mesh attachment and replace the target attachment. However, by doing so, the step itself introduce quite some maintenance works:
- Once cloned the attachment, original attachment became inactive, need to reactivate after moving.
- The position is keeping the old value after dragging. Need to correct it after dragged to the new slot.
- The attachment name has number on it because during the cloning, name cannot be the same under same slot. This sometimes is confusing because the cloned plant2 attachment is actually pointing to plant1 and there could actually have a plant2 image.
The desired operation is to have a "copy/paste special" like in MS Office Word. We could choose to paste "position", "mesh config", "attachment path", "animation key", or even something more like color, etc.
Extra hint:
If you want to improve inter process communication between multiple instances of Spine. The copy / paste system could actually push JSON data to the clipboard. When pasting, just pull back the clipboard value and apply. This will allow copy and paste content across multiple Spine instance. I remember there was several time I want to merge multiple version of the same spine project and hoping this cross application copy and paste operation could be possible.
Hope this helps