Add snap-to-stand detection #8
Loading…
Reference in a new issue
No description provided.
Delete branch "task/3-snap-to-stand"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Stands get a
stand.gdscript (stand_id+ group membership). On drop,item.gdsearches thestandsgroup for the nearest stand whosestand_idmatches the item'sitem_id; if withinsnap_distanceit snaps exactly onto it, marksplaced = true, and plays a small scale-punch tween as a placeholder snap animation. Re-picking up a placed item clearsplaced. Emitsplaced_changedfor #4 to consume.Validated the actual matching/snap/reject logic (not just scene load) with a disposable headless SceneTree script exercising: too-far (no snap), correct distance+id (snaps exactly), and mismatched id (no snap).
Closes #3