Vehicles: whole skeletons, dual wheels, rail wheels, scooter wheels, roof down #54

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

@⁠holdmysocks on GitHub · 2026-11-23 15:26 UTC · original
holdmysocks:claude/vehicle-wheels-roof → master · +65 −11 · 4 files · 1 commits · merged 2026-11-23 16:37 UTC

Several vehicle problems seen in the model viewer.

  • Skeletons cut short. A bone name with a dash ended the bone array, and vehicle skeletons name their breakable joints that way (connect-chassis-bumper_f-1). A motorhome's skeleton stopped at bone 107, before its wheel bones. Names may now hold -, ., #, + and spaces.
  • Dual wheels. The inner wheel of a pair has its own bone (wheel_lr_inr) and its own collision disc. wheel_mounts lists them (wheel_mounts_version 2) and the viewer draws them, mirrored.
  • Rail wheels. A rim_train_* rim gets no tyre and keeps its own width.
  • Electric scooter. It lost its wheels to the helicopter rule (no rim, token wheelScale); that rule now also needs the wheels to have no collision discs.
  • Convertibles. A "roof down" switch hides what hangs on the convertible_roof bone except the roof cover.

The viewer re-exports cached vehicles that predate this.

Checked

  • In the viewer: eboost, spreader, trailers, traileruld2, traincar2, trotter, trlr_tnkr, sentinelclassic2 (roof up and down).
  • 135 core tests pass.

Not found

A roof-folding animation: nothing in the animation index is named after the car, its roof bones or a soft top. trlr_tnkr has no wheel bones and no wheel discs; it is taken as a body for a separate chassis, which was not identified.

**@⁠holdmysocks** on GitHub · 2026-11-23 15:26 UTC · [original](https://github.com/holdmysocks/SixNG/pull/54) `holdmysocks:claude/vehicle-wheels-roof` → `master` · +65 −11 · 4 files · 1 commits · merged 2026-11-23 16:37 UTC Several vehicle problems seen in the model viewer. - **Skeletons cut short.** A bone name with a dash ended the bone array, and vehicle skeletons name their breakable joints that way (`connect-chassis-bumper_f-1`). A motorhome's skeleton stopped at bone 107, before its wheel bones. Names may now hold `-`, `.`, `#`, `+` and spaces. - **Dual wheels.** The inner wheel of a pair has its own bone (`wheel_lr_inr`) and its own collision disc. `wheel_mounts` lists them (`wheel_mounts_version` 2) and the viewer draws them, mirrored. - **Rail wheels.** A `rim_train_*` rim gets no tyre and keeps its own width. - **Electric scooter.** It lost its wheels to the helicopter rule (no rim, token `wheelScale`); that rule now also needs the wheels to have no collision discs. - **Convertibles.** A "roof down" switch hides what hangs on the `convertible_roof` bone except the roof cover. The viewer re-exports cached vehicles that predate this. ## Checked - In the viewer: eboost, spreader, trailers, traileruld2, traincar2, trotter, trlr_tnkr, sentinelclassic2 (roof up and down). - 135 core tests pass. ## Not found A roof-folding animation: nothing in the animation index is named after the car, its roof bones or a soft top. `trlr_tnkr` has no wheel bones and no wheel discs; it is taken as a body for a separate chassis, which was not identified.
- Skeletons: a bone name with a dash ended the bone array. Vehicle
  skeletons name their breakable joints that way
  (connect-chassis-bumper_f-1), so a motorhome's skeleton stopped at bone
  107, before its wheel bones, and 18 of its meshes had joints with no
  bone. Names may now hold - . # + and spaces.
- Dual wheels: the inner wheel of a pair has its own bone
  (wheel_lr_inr, wheel_lm1_inr) and its own collision disc. wheel_mounts
  lists them, and each mount takes the nearest of two equally large discs
  (outer and inner can be 12 cm apart). model.json gets
  wheel_mounts_version 2. The viewer draws the inner wheel mirrored.
- Viewer: a rim_train_* / rim_metrotrain_* rim gets no tyre and keeps its
  own width (it comes with its axle stub). It was given a car tyre.
- Viewer: an electric scooter has no rim in its configurations and a
  wheelScale of 0.08, like a helicopter, and lost its wheels to the
  helicopter rule. That rule now also needs the wheels to have no
  collision discs. A configuration with a tyre and no rim takes a rim of
  the tyre's kind.
- Viewer: "roof down" for convertibles hides what hangs on the
  convertible_roof bone except the roof cover (--roof-down in
  automation).

Checked in the viewer on eboost, spreader, trailers, traileruld2,
traincar2, trotter, trlr_tnkr and sentinelclassic2.

Not found: a roof-folding animation. Nothing in the animation index is
named after the car, its roof bones or a soft top, so the roof is a
switch. trlr_tnkr has no wheel bones and no wheel discs (55 bones): it
is taken as a body that sits on a separate chassis, which was not
identified.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:06:09 +00:00
github manually merged commit cae7bd0979 into gh-pr/54/base 2026-11-26 20:06:10 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.