Vehicles: boats never get wheels #177

Manually merged
github merged 2 commits from gh-pr/177/head into gh-pr/177/base 2026-11-26 20:15:38 +00:00
Owner

@⁠holdmysocks on GitHub · 2026-11-24 16:28 UTC · original
holdmysocks:claude/no-wheels-on-boats → master · +28 −8 · 3 files · 2 commits · merged 2026-11-24 16:55 UTC

What

Reported by the user: levels.rpf@10c2385010 (the airboat, airgator_hi) showed four car wheels under its hull in the viewer.

Cause: the airboat's skeleton has four wheel bones (wheel_lf, wheel_lr, wheel_rf, wheel_rr), but they are not wheels: the model has no wheel collision discs and none of its 33 configurations names a rim or tyre. The viewer's rule for "this vehicle has no wheels" only covered helicopters (a token wheelScale below 0.1), and the airboat's wheelScale is an ordinary 0.5, so plain car wheels were fitted. This is older than the wheel fitment work (#157, #169).

Fix: the vehicle type from the model info decides. Types 9 (38 models: speed boats, pontoons, the airboat ...) and 10 (the kayak) are boats and never get wheels, in the viewer and in sixng vehicle. The helicopter rule stays as it is.

Vehicle types seen in the data: 0 cars and trucks (250), 1 planes (12), 2 quads and small carts (5), 5 helicopters (13), 7 motorbikes (20), 8 bicycles (7), 9 boats (38), 10 kayak (1), 12 and 13 rail vehicles (11).

Checked

  • Airboat with the build in target\release and with this branch, same camera: the wheels are gone. A speed boat (squalo), which never had wheels, is unchanged.
  • sixng vehicle airgator reports 0 wheels with the note that it is a boat.
  • cargo build -p sixng-cli -p sixng-gui passes.

Not done

  • Planes keep the plain wheels the viewer fits to their landing gear bones; no plane was looked at here.
  • A model the vehicle table does not know (no vehicle data) still gets estimated wheels on its wheel bones.
  • No unit test.
**@⁠holdmysocks** on GitHub · 2026-11-24 16:28 UTC · [original](https://github.com/holdmysocks/SixNG/pull/177) `holdmysocks:claude/no-wheels-on-boats` → `master` · +28 −8 · 3 files · 2 commits · merged 2026-11-24 16:55 UTC ## What Reported by the user: `levels.rpf@10c2385010` (the airboat, `airgator_hi`) showed four car wheels under its hull in the viewer. Cause: the airboat's skeleton has four wheel bones (`wheel_lf`, `wheel_lr`, `wheel_rf`, `wheel_rr`), but they are not wheels: the model has no wheel collision discs and none of its 33 configurations names a rim or tyre. The viewer's rule for "this vehicle has no wheels" only covered helicopters (a token wheelScale below 0.1), and the airboat's wheelScale is an ordinary 0.5, so plain car wheels were fitted. This is older than the wheel fitment work (#157, #169). Fix: the vehicle type from the model info decides. Types 9 (38 models: speed boats, pontoons, the airboat ...) and 10 (the kayak) are boats and never get wheels, in the viewer and in `sixng vehicle`. The helicopter rule stays as it is. Vehicle types seen in the data: 0 cars and trucks (250), 1 planes (12), 2 quads and small carts (5), 5 helicopters (13), 7 motorbikes (20), 8 bicycles (7), 9 boats (38), 10 kayak (1), 12 and 13 rail vehicles (11). ## Checked - Airboat with the build in `target\release` and with this branch, same camera: the wheels are gone. A speed boat (`squalo`), which never had wheels, is unchanged. - `sixng vehicle airgator` reports 0 wheels with the note that it is a boat. - `cargo build -p sixng-cli -p sixng-gui` passes. ## Not done - Planes keep the plain wheels the viewer fits to their landing gear bones; no plane was looked at here. - A model the vehicle table does not know (no vehicle data) still gets estimated wheels on its wheel bones. - No unit test.
The airboat has wheel bones and an ordinary wheelScale, so the viewer fitted car wheels to it. Vehicle types 9 and 10 (boats, the kayak) now get no wheels in the viewer and in sixng vehicle.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:15:36 +00:00
github manually merged commit 6886055681 into gh-pr/177/base 2026-11-26 20:15:38 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.