Hair: settle the guides as the game's strand simulation does #444
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!444
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-444"
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-27 03:02 UTC · original
holdmysocks:people/hair-settle→master· +281 −5 · 3 files · 2 commits · merged 2026-11-27 03:44 UTCWhat the game does
Every frame the game runs a strand simulation on each groom's guides. Close to the camera it uses the full pass. On a still character the result is hair hanging under gravity and draping over the shoulders, not the stored shape.
The per-point inputs are stored with the groom:
What changed
groom::parsereads those inputs intoSimData. It is None when a groom stores none; that groom is drawn as stored.Groom::settleruns the pass to rest:Colliders::push_outmoves a point back onto the collider surface.SIXNG_HAIR_NO_SIM=1keeps the stored guides.Left out
Checks