Ligamen

Skins

Skins

A skin is a named set of attachments. It lets one skeleton wear several looks: the same bones and animations, but a red shirt in one skin and a blue one in another, or a different hat, a different weapon, a different face. Every skeleton has a skin called default, which holds the attachments you build in Setup. Any other skin only holds what differs, and the game shows the one it asks for on top of default. Skins can also carry their own bones and constraints, so a skin can bring extra parts of the rig along. This article explains how to create and organise skins, how to preview and pin them, how to move attachments into a skin, how to copy a skin, and how skin bones and constraints work.

Skins

The default skin#

Everything you create in Setup, such as images, meshes and the other attachments in Region and Mesh, goes into default. It is the base that is always there: when an active skin does not define an attachment for a slot, the attachment from default is used. You never switch default on or off, so it is not listed in the Skins panel, and it cannot be deleted.

Because other skins are layered over it, a skin does not need to repeat the whole character. A wardrobe rig usually has an almost empty default and one skin per outfit, each defining only the slots it changes. When several skins are on at once, the one on top wins for every slot and attachment name that both define, and the rest show through.

The Skins panel#

The Skins panel is a tab in the right column, next to Tree (see User interface). Open it from the Panels menu if it is closed. The field at the top, Filter skins…, hides the rows whose name does not contain the text. The + button next to it creates a new skin, called skin and then skin_2, skin_3 and so on. Creating a skin is one undo step.

Each row has a t-shirt icon in the colour of the skin, its name, a counter such as 1 att that tells how many attachments it holds, and a pin button at the right edge. The small arrow at the left opens the contents of the row: its attachments with the slot they belong to, then its skin bones and skin constraints. These rows are read-only.

A slash in the name makes a folder: skins called outfit/red and outfit/blue share the folder outfit, and the row shows only the last part of the name. Drag a skin onto a folder to move it there, or between two rows to put it in a new place. Folders only keep the list tidy. They do not change what is drawn.

The three buttons under the list act on the selected skin. Rename asks for a new name and refuses one that is already used. Delete asks for confirmation unless you turned that off in Settings. Duplicate is described below.

Previewing and pinning#

Click a row to preview the skin: the viewport shows it on top of the pinned skins, and the Properties panel shows the skin. Click another row to preview that one instead. This is the quick way to look through your skins without changing anything.

The pin button keeps a skin on. A pinned skin stays in the viewport while you select other skins, and it is added to the Pinned area under the list, which has a counter and one row per pinned skin. Click the pin in that row to unpin it. Pin the skins that make up your character, for example a body skin and a hat skin, and preview the others over them. The In viewport switch in the Properties panel does the same as the pin button.

The same rule decides what you see in Setup and in Animate: the active skins are layered in order, the selected one on top, and default fills in whatever they do not define.

Skin properties#

Select a skin and the Properties panel opens its Skin section. Name renames the skin. Color sets a tint for the skin's icon in the Skins panel, in the Pinned area and in the Tree. It exists only in the editor and has no effect in the game. Add to Skin is described in the section about skin bones.

The Scope section has two rows, Bones and Constraints, each with a count and an Edit… button that opens a checklist of every bone or constraint of the skeleton. The Attachments section lists what the skin holds, grouped by slot. The Actions section has Duplicate and Delete skin. At the bottom of the panel, <skin> · contents shows the same composition as the arrow in the Skins panel: slot, then folders, then attachment, with the bone of the slot at the right.

Skin placeholders#

To make an attachment part of a skin, you move it there. Preview or pin a skin first, then select attachments of the default skin in the Tree and choose New... and then Skin Placeholder. The selected attachments move into the active skin, which is the previewed skin, or the last pinned one if nothing is previewed. In default the slot keeps a placeholder with the same name, so every other skin can fill that slot with its own attachment. Their keys move along with them: deform keys and Sequence keys belong to the attachment, not to the slot (see Keys). If no skin other than default is active, Ligamen says so in the status bar and does nothing. Attachments that are already in a skin, or whose name is taken in the target skin, are skipped and reported.

The dialog asks what else to do. Duplicate attachments for each skin also copies the attachment into every other skin, so each one can be repainted. Below it, Linked meshes makes the copies linked meshes that share the mesh of the original instead of full copies, and Inherit deform lets them use its deform keys. Duplicate keys copies the keys for every copy, and Rename attachments prefixes each copy with the skin name, so head becomes red/head. Options that depend on another one are disabled while it is off, and the dialog remembers your last choice.

On a bone, New... and Skin Placeholder is a different command: it asks for a name and adds a new slot with an empty placeholder. In the Tree, a slot lists the placeholders that its active skins define, and the one that is drawn is marked (shown). Right-click a placeholder to set it as the setup attachment, or to rename, duplicate or delete it.

Duplicating a skin#

Duplicate, in the Skins panel or in Properties, copies the selected skin and puts the copy right after it. The Duplicate Skin dialog has the same options as above, without Duplicate attachments for each skin, because the copy is the skin. Use it to start a new outfit from an existing one, then replace what differs. The whole duplication is one undo step.

Skin bones and constraints#

A skin can own bones and constraints. A skin bone only exists while a skin that lists it is on: a hat with a physical tassel brings the tassel bones, and a character without the hat does not carry them. To add a bone or an IK or transform constraint to a skin, right-click it in the Tree and open Skin Membership, a submenu with a check for every skin. Or select the skin, press Add to Skin in Properties, and click bones in the viewport or bones and constraints in the Tree. Each click is one undo step, and the selection stays on the skin. Press Space or Esc in the viewport, press the button again, switch between Setup and Animate, or select something else to leave the mode. It only adds, so use Edit… in Scope or Skin Membership to remove.

A constraint with Skin only on runs only while a skin that lists it, or default, is on. A skin bone is hidden and cannot be picked in the viewport while no active skin claims it, but its transform keeps being computed, so its children that are always active still pose correctly. To see and select every skin bone, turn off Hide Viewport Skin Bones in the View menu. It is on by default and saved with the project. Turning it off is only a preview: a hint appears in Warnings, and exported frames, videos and the command line keep the behaviour of the game.

Skins in export#

Skins are part of the skeleton data and are exported with it. Texture packing has a mode for them too: Atlas per skin in the Export dialog writes a shared atlas and one extra atlas, named <skeleton>-<skin>, for the images that belong to a single skin. Use it when skins are loaded or streamed separately in the game.