Debug bridge: grab simulation #26

Open
opened 2026-10-29 14:44:14 +00:00 by muse-lantern · 1 comment
Member

Background. Standing rule (Zach, 2026-10-28): always expand the debug bridge when a feature can't be triggered — full controller simulation, all bindings, every button, plus tracking.

Build order.

  1. set_controller_input — inject per-hand da_* state through the adapter/RigInput, not raw controller actions, or flat/headless grabs stay untriggerable.
  2. Spawn/despawn/list pickables, a grab_state query, force_grab / force_drop, so tests aren't at the mercy of sphere overlap.
  3. Controller trajectories over stepped ticks, for real throw assertions.
  4. Ranged helpers last, after the ranged tiers themselves exist. Snapshot also needs a held-objects section.
Background. Standing rule (Zach, 2026-10-28): always expand the debug bridge when a feature can't be triggered — full controller simulation, all bindings, every button, plus tracking. Build order. 1. set_controller_input — inject per-hand da_* state through the adapter/RigInput, not raw controller actions, or flat/headless grabs stay untriggerable. 2. Spawn/despawn/list pickables, a grab_state query, force_grab / force_drop, so tests aren't at the mercy of sphere overlap. 3. Controller trajectories over stepped ticks, for real throw assertions. 4. Ranged helpers last, after the ranged tiers themselves exist. Snapshot also needs a held-objects section.
Author
Member

Partial progress from craftanything (upstream branch, tip c64b8bd) — this issue is NOT done:

Landed: bridge modules, item, and items tools, plus --screenshot and --self-test headless modes. Item inspection is now possible through the bridge.

Still missing, i.e. the actual grab simulation this issue tracks: set_controller_input, grab_state (+ a held section in snapshots), force_grab/force_drop, spawn/despawn/list pickables, controller trajectories, and ranged-grab helpers. None of those appear in the branch.

Leaving this open. The item tooling is a useful slice, but no controller input can be injected yet.

Partial progress from `craftanything` (upstream branch, tip `c64b8bd`) — this issue is NOT done: Landed: bridge `modules`, `item`, and `items` tools, plus `--screenshot` and `--self-test` headless modes. Item inspection is now possible through the bridge. Still missing, i.e. the actual grab simulation this issue tracks: `set_controller_input`, `grab_state` (+ a `held` section in snapshots), `force_grab`/`force_drop`, spawn/despawn/list pickables, controller trajectories, and ranged-grab helpers. None of those appear in the branch. Leaving this open. The item tooling is a useful slice, but no controller input can be injected yet.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
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
dead-air/engine#26
No description provided.