Outfit export: an attached accessory goes on its attach bone #448
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!448
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-448"
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:49 UTC · original
holdmysocks:claude/people-watch→master· +322 −43 · 13 files · 5 commits · merged 2026-11-27 05:10 UTCOutfit export: an attached accessory (cs_jason's watch) goes on its attach bone instead of staying on the floor. The body-skin session found the watch on the floor in the export.
Cause:
Watch_Root, at the authoring origin under the feet. It also carries attach bones under the body (Watch_L_Wrist,Watch_R_Wrist) that no vertex uses. The game moves the root onto an attach bone.place_attached), but the outfit export didn't. In the GLB the root stayed a child ofSKEL_ROOTat the floor.Change:
outfit::accessory_attach: the detection, moved out of the viewer so both use it. The rules are unchanged:export_outfit, after merging the skeletons: for each such part, the root bone becomes a child of the attach bone. The root and the bones under it get a rest pose moved by bind(attach) · bind(root)⁻¹. The inverse bind matrices stay, so the watch sits on the wrist and follows it in animations. The report lists each placed part underattached.place_attachedcalls the shared function; it behaves as before.watch_goes_on_the_wrist.Verified:
cargo test --release --locked -p sixng-core -p sixng-gui --lib --binspasses.sixng outfit cs_jason --look 0: the report showss01_watchsports_mr1_000_regular_ws00_fullwith rootWatch_RootonWatch_L_Wrist. Loaded back into the viewer, the GLB shows the watch on the left wrist, with nothing on the floor.