Hair: hold the settled guides on the game's leash #457
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!457
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-457"
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 04:43 UTC · original
holdmysocks:people/hair-leash→master· +64 −15 · 1 files · 4 commits · merged 2026-11-27 05:51 UTCFollows #444 (merged).
What the game does
The close-up strand simulation doesn't use a fixed pull toward the stored guide. It scales the pull's compliance by a leash:
c' = c · m · (R / |x − B|)^e
What changed
SimDatagainsleash(R per point; 0 at roots) andleash_e. B3 holds one entry per segment, K − 1 per strand; checked against Mandy's three long pieces.Groom::settleapplies the leash to the pull. The step is the game's 30 fps substep (0.06 s), since m depends on it.Checks