Viewer: parts on a bed's bones mount on the bed #104

Manually merged
github merged 1 commit from gh-pr/104/head into gh-pr/104/base 2026-11-26 20:10:07 +00:00
Owner

@⁠holdmysocks on GitHub · 2026-11-24 02:40 UTC · original
holdmysocks:claude/bed-bones → master · +24 −7 · 1 files · 1 commits · merged 2026-11-24 02:46 UTC

Follow-up to #95 / #102: the user saw a piece sticking out of the side of the bison.

What

A pickup's rear bumper is a part on the bone bumper_r. The chassis has a bone of that name, and so does the bed model (<vehicle>_pickup); the bumper belongs on the bed's. The viewer placed it by the chassis's bone, so bison's rear bumper sat beside the cab, visible between the open doors.

Bodies are now fitted first and bring their bones: a later part on a bone of that name is placed by the body's bone (the body's placement times the bone's bind in the body).

Checked

  • bison with doors open: the piece beside the cab is gone. bison from the rear: the bumper and plate sit at the back of the bed.
  • The 16 trucks and pickups from #95 re-rendered from the rear: all the pickups have their rear bumper at the back of the bed; the heavy trucks are unchanged.
  • cargo test -p sixng-gui: 12 passed (no new tests).

Not done

  • A part on a bed's bone is placed there but still follows the chassis's joint of that name when something moves (nothing moves the bed, so it does not show).
  • That a body's bones take precedence over the chassis's is an inference from where the parts fit, not read from code.
**@⁠holdmysocks** on GitHub · 2026-11-24 02:40 UTC · [original](https://github.com/holdmysocks/SixNG/pull/104) `holdmysocks:claude/bed-bones` → `master` · +24 −7 · 1 files · 1 commits · merged 2026-11-24 02:46 UTC Follow-up to #95 / #102: the user saw a piece sticking out of the side of the bison. ## What A pickup's rear bumper is a part on the bone `bumper_r`. The chassis has a bone of that name, and so does the bed model (`<vehicle>_pickup`); the bumper belongs on the bed's. The viewer placed it by the chassis's bone, so bison's rear bumper sat beside the cab, visible between the open doors. Bodies are now fitted first and bring their bones: a later part on a bone of that name is placed by the body's bone (the body's placement times the bone's bind in the body). ## Checked - bison with doors open: the piece beside the cab is gone. bison from the rear: the bumper and plate sit at the back of the bed. - The 16 trucks and pickups from #95 re-rendered from the rear: all the pickups have their rear bumper at the back of the bed; the heavy trucks are unchanged. - `cargo test -p sixng-gui`: 12 passed (no new tests). ## Not done - A part on a bed's bone is placed there but still follows the chassis's joint of that name when something moves (nothing moves the bed, so it does not show). - That a body's bones take precedence over the chassis's is an inference from where the parts fit, not read from code.
A pickup's rear bumper is a part on the bone bumper_r. The chassis has a
bone of that name and so does the bed model; the bumper belongs on the
bed's. Bodies are now fitted first and bring their bones: a later part on
a bone of that name is placed by the body's bone. Before, bison's rear
bumper sat beside the cab.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:10:06 +00:00
github manually merged commit ea103f7136 into gh-pr/104/base 2026-11-26 20:10:07 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.