Guides
Morph targets and cloth
Marks follow morph target weights on faces and bodies with no setup. Where the morph data comes from, the material flag it needs, and cloth.
A morph target is a stored shape change of a mesh (a smile, a flexed muscle) that the engine blends in by weight.
No setup#
No setup. Marks follow the morph target weights the character reports (the same weights the renderer uses, from
SetMorphTarget or an animation curve), so a mark on a face that smiles, a belly that grows or a muscle that flexes stays
on the skin. Hits land on the morphed surface.
Where the morph data comes from#
Once per mesh, at first use:
- Editor and mobile cooks: the mesh's own morph data (tier 1). Nothing to wait for.
- Cooked desktop games: the engine strips the CPU morph data there and keeps it only on the GPU, so SkinMark reads the GPU morph buffer back once per mesh, starting when the component begins play (tier 2). In a packaged Windows game on UE 5.8 it decoded all 4385 deltas about 0.3 s after the request (0.44 s in an editor check run, where all 4385 matched the mesh's own data). A hit that arrives before that waits for it once; no wrong mark is made.
- Neither available: one warning per mesh, and marks on that mesh ignore morphs.
Saved and replicated marks#
Each mark's record stores the morph weights that were active when it was made, so restored and replicated marks are built on the same skin shape.
Used with Morph Targets#
Every material of a morphing mesh must be marked Used with Morph Targets (material > Details > Usage). The editor sets
this for you in Play In Editor, but a -game run or a packaged build cannot, and then the character is drawn without the
morph while the marks still follow it. The plugin logs one warning per mesh naming the material.
Cloth#
Cloth sections take no marks: the hit goes through to the skin under them.
