BS-JD-305 - Collider authoring diagnostics and overlays #26

Closed
opened 2026-06-06 01:48:07 -04:00 by Rbanh · 0 comments
Owner

Summary

Improve collider visualization, shape switching, and error reporting.

Why

Brushes, static meshes, terrain, and physics placement all need clear collider state and diagnostics.

Implementation notes

  • Added one authored/runtime collider-health service shared by the inspector, Collider viewport, Diagnostics panel, and physics placement.
  • Primitive overlays include world scale; static mesh colliders show cooked runtime bounds.
  • Semantic state colors distinguish ready, trigger, disabled, warning/stale, and invalid/missing collision.
  • Diagnostics cover missing/inactive/disabled authoring, invalid dimensions, stale mesh references or hydration, and colliders over 1,000 meters in world extent.
  • Shape switching preserves useful primitive extents and records one typed SetCollider history command.

Acceptance criteria

  • Collider overlays accurately show current authoring state.
  • Diagnostics identify missing/stale/invalid collider issues.
  • Shape switching is undoable and documented.
  • Physics placement can reuse diagnostics for prerequisites.

Evidence

Implemented and published on main in 0ce43fc.

Collider diagnostics live acceptance

The committed fixture is assets/levels/collider_diagnostics_showcase.scn.ron; the workflow and diagnostic contract are documented in docs/editor/collider-authoring.md.

Verification

  • cargo test --workspace --all-targets --no-fail-fast (224 editor tests; full workspace green)
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo fmt --all -- --check
  • git diff --check
  • target/debug/validate-levels: 62 dependencies, 5 existing non-blocking findings, 0 blocking errors
  • Live Wayland QA: semantic overlays, scaled shapes, HUD counts/selection, Diagnostics actor link, shape switch/undo, and physics-placement rejection reuse
  • Packaged tests deferred by current project instruction.
## Summary Improve collider visualization, shape switching, and error reporting. ## Why Brushes, static meshes, terrain, and physics placement all need clear collider state and diagnostics. ## Implementation notes - Added one authored/runtime collider-health service shared by the inspector, Collider viewport, Diagnostics panel, and physics placement. - Primitive overlays include world scale; static mesh colliders show cooked runtime bounds. - Semantic state colors distinguish ready, trigger, disabled, warning/stale, and invalid/missing collision. - Diagnostics cover missing/inactive/disabled authoring, invalid dimensions, stale mesh references or hydration, and colliders over 1,000 meters in world extent. - Shape switching preserves useful primitive extents and records one typed `SetCollider` history command. ## Acceptance criteria - [x] Collider overlays accurately show current authoring state. - [x] Diagnostics identify missing/stale/invalid collider issues. - [x] Shape switching is undoable and documented. - [x] Physics placement can reuse diagnostics for prerequisites. ## Evidence Implemented and published on `main` in [0ce43fc](https://git.spacetrainclubhouse.com/Falling-Metal-Interactive/Blacksite/commit/0ce43fc3992536879d2357a9a73b1a0fab190696). ![Collider diagnostics live acceptance](https://git.spacetrainclubhouse.com/attachments/eec6ad0b-81ea-4597-ac4d-339ea830ce90) The committed fixture is `assets/levels/collider_diagnostics_showcase.scn.ron`; the workflow and diagnostic contract are documented in `docs/editor/collider-authoring.md`. ## Verification - `cargo test --workspace --all-targets --no-fail-fast` (224 editor tests; full workspace green) - `cargo clippy --workspace --all-targets -- -D warnings` - `cargo fmt --all -- --check` - `git diff --check` - `target/debug/validate-levels`: 62 dependencies, 5 existing non-blocking findings, 0 blocking errors - Live Wayland QA: semantic overlays, scaled shapes, HUD counts/selection, Diagnostics actor link, shape switch/undo, and physics-placement rejection reuse - Packaged tests deferred by current project instruction.
Rbanh added this to the M3 - Terrain and physics placement milestone 2026-06-06 01:48:07 -04:00
Rbanh added the
roadmap:jackdaw
type:feature
priority:P1
area:physics
labels 2026-06-06 01:48:07 -04:00
Rbanh closed this issue 2026-07-12 22:51:33 -04:00
Sign in to join this conversation.
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Falling-Metal-Interactive/Blacksite#26
No description provided.