Hair export: keep settled hair just outside the body and garments #525
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/holdmysocks--SixNG!525
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-525"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@holdmysocks on GitHub · 2026-11-28 03:06 UTC · original
holdmysocks:people/mandy-crown→master· +153 −6 · 2 files · 1 commits · merged 2026-11-28 03:17 UTCFollows up the Mandy check. Her crown strays are gone on master; the hair settle in #494 most likely fixed them. The back render showed a different problem: hair tips cut off by her tank top.
Cause. The game's colliders (body and garment bounds) lie a few millimetres inside the cloth and skin. The settle puts guides on the collider surface, so the hair ends up just under the garment it rests on. On Mandy, 7 to 13 % of hair points near the top were inside it: typically 3 to 6 mm, at most 2 cm. Bare skin shows the same.
Fix (export only). The export now also takes the character's own body and garment meshes, leaving out the head, hair, eyes, teeth and hats. After the settle, and again after the strands are grown, any point up to 2.5 cm under a mesh moves 2 mm out along that mesh's normal. Each mesh is tested on its own nearest vertex, so a garment over skin still counts. Roots stay where they are. This is a display rule, not the game's.
lifted_out_of_body), and the colliders note names the meshes.The viewer settles with its own colliders and doesn't get this pass. Tests: core 406 (a new
Surfacetest), gui 68.