Hi I wanted to create one skin place holder that controls an expression of the different variations I have for my robots. I have three different expression types idle, panic and build. I was wondering if it's possible to create these 3 skin place holders that will change based on each active variation. Currently I have it so that each expression changes based on the animation track being used.
Different expressions for different skins
To achieve different expressions for different skins in Spine, you can use a combination of skin placeholders and animations. You can create a single skin placeholder for each expression type (idle, panic, build) and then assign different attachments for each robot variation under these placeholders. This way, when you switch skins, the appropriate expression for the active skin will be displayed. You can manage the expression changes through animations by keying the visibility of these skin placeholders. This approach allows you to maintain a consistent animation workflow while dynamically changing expressions based on the active skin.
We'd like to avoid controlling this from animation, as that will create a lot of duplication and slow down our work processes.
We understand it can be done via code, but we are wondering if it's possible to control it via separate skins... in a sense have nested skin support?
sid Unfortunately, there is no such feature in Spine that allows you to specify a set of skins to be applied when a specific skin is applied. It is common to have a situation where a particular skin is prepared for a particular skin and should always be a combination of sets, and in fact the feature to specify a set of skins is on our roadmap: EsotericSoftware/spine-editor562
You can subscribe to this issue ticket to receive notifications when there is any progress on this issue.