aiming stickiness improvement #181

Closed
opened 2026-09-02 10:02:55 +00:00 by metaheavens · 1 comment
Owner

aim assist only stick the direction to the closest enemy, though it should also stick a bit on the cursor position. stickiness should also apply to asteroids

aim assist only stick the direction to the closest enemy, though it should also stick a bit on the cursor position. stickiness should also apply to asteroids
Author
Owner

Implemented in 3975959. Aim assist now has two complementary forms of intent: the existing directional cone and a 180-unit cursor-proximity magnet. Cursor-near targets take priority over merely shooter-near targets, the visible reticle snaps to the resolved world position, and each hull still resolves against its own muzzle and range so heterogeneous fleets keep converging correctly. Enemies and asteroids opt into one player_aim_targets group, avoiding type-specific branches. Verified by test_aim_assist and test_aim_converges (2/2 isolated), plus fire-stick, desktop combat, enemy combat, asteroid mining, and shot-reach scenarios.

Implemented in 3975959. Aim assist now has two complementary forms of intent: the existing directional cone and a 180-unit cursor-proximity magnet. Cursor-near targets take priority over merely shooter-near targets, the visible reticle snaps to the resolved world position, and each hull still resolves against its own muzzle and range so heterogeneous fleets keep converging correctly. Enemies and asteroids opt into one player_aim_targets group, avoiding type-specific branches. Verified by test_aim_assist and test_aim_converges (2/2 isolated), plus fire-stick, desktop combat, enemy combat, asteroid mining, and shot-reach scenarios.
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
metaheavens/spaceship#181
No description provided.