- Edited
Creating skins
Hello, my problems is about creating skins - as I figured out - Skin placeholder doesn't allow you to easy switch between regions.
I have a slot "body_cloth", there are a regions within: "military", "polo", "jeans" etc
So I created the Skin placeholder within this slot and added, for example, region "jeans" inside. But when I create the next skin - I can't add region "jeans" to this skin placeholder again, because slot "body_cloth" doesn't have it anymore, so I have to create this region "jeans" again and add this to the skin placeholder (or I could duplicate region before adding to the skin placeholder), both of these ways are inconvenient.
It would be great if I could add more then 1 region to Skin Placeholder and then easy switch between them in a different skins.
I thought about using animations for regions initialization instead of using skins, that would set the desired regions in the corresponding slots. Is it good way to do?
Thanks!
Switching regions for a skin placeholder within the same skin would be duplicating how slots work. Slots slots slots, all the way down.
Each placeholder has its own attachment. If you have two skins and both have a "jeans" attachment, you actually have 2 independent "jeans" attachments.
You could use an animation that only has keys on frame zero solely to configure which attachments are visible. Nothing wrong with that, though you don't get the benefits skin placeholders provide for reusing animations that have attachment changes (see docs).
You could try duplicating the skin, which will duplicate all its attachments, then deleting the attachments you don't want. Or you could create two jeans attachments as you have been, but go to the first, ctrl+c, go to the second, ctrl+v to paste the attachment's transform.
It seems you are using skins solely to configure what attachments your skeleton has. This is usually ok, but if skins aren't a good fit, it's not a super hard problem and can be solved other ways. Eg, it could be done at runtime, maybe using a text/JSON/CSV file that describes what attachments should be used per outfit/item/etc.
Nate wroteSwitching regions for a skin placeholder within the same skin would be duplicating how slots work. Slots slots slots, all the way down.
Not exactly duplication, you can't set different regions within a slot for a different skins, unfortunately, it is exactly what I need - create new skin -> click 1(set the one region to be active in slot) -> click 2 (another slot) -> click 3 (another slot) -> skin is done. I need many more clicks at the moment to do this.
Anyway, thank you for the answer. I'll try to dulpicate skins and delete attachments I don't want.