Implement circular gun module #171

Closed
opened 2026-09-19 14:39:18 +02:00 by SirStone · 2 comments
Owner

Question

Create common_libs/guns/circular.nim. Predict enemy continues turning at current turn rate.

Needs 2+ frames of history (managed internally) to compute turn rate = heading delta between frames. Projects the arc forward by ticksToArrive steps. Returns absolute (x, y).
onResult() is a no-op.

## Question Create `common_libs/guns/circular.nim`. Predict enemy continues turning at current turn rate. Needs 2+ frames of history (managed internally) to compute turn rate = heading delta between frames. Projects the arc forward by ticksToArrive steps. Returns absolute (x, y). onResult() is a no-op.
SirStone added the wayfinder:task label 2026-09-19 14:39:18 +02:00
Author
Owner

Blocked by #166 — Gun trait and WorldState must be defined first.

Blocked by #166 — Gun trait and WorldState must be defined first.
Author
Owner

Superseded by vertical-slice tickets — see map #165.

Superseded by vertical-slice tickets — see map #165.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SirStone/SirRoboGarage#171