From f03b144907be8ad8cec2e1c7487b5d9e0a43f13e Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Tue, 1 Dec 2026 15:37:59 +0400 Subject: fix(combat): continue projectile flight after piercing shields Resolve shield sphere entrances before the first physical hit. Carry leftover volume into later ticks for both player and autonomous fire and let a geometric miss pass through a warbot bounding sphere. Checked Control.dll RVAs 0x1e9f0 and 0xd0c0 in-process with a sphere-only contact. The AutoDemo corpus covers a charged stop, a pierced field, and an unchanged hull on a miss. Ran the workspace suite and AutoDemo in the game window with Vulkan validation. --- apps/fparkan-game/src/player_fire.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/fparkan-game/src/player_fire.rs') diff --git a/apps/fparkan-game/src/player_fire.rs b/apps/fparkan-game/src/player_fire.rs index 20873500..8a04d04f 100644 --- a/apps/fparkan-game/src/player_fire.rs +++ b/apps/fparkan-game/src/player_fire.rs @@ -143,7 +143,8 @@ impl StaticVulkanApp { draw.speed, draw.lifetime_ms, clock_ms, - ); + ) + .map(|flight| flight.with_volume(draw.volume)); instance.shooter = Some(cockpit.handle); if let Some(flight) = &instance.flight { launch_sounds = &draw.launch_sounds; -- cgit v1.2.3