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. --- crates/fparkan-runtime/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crates/fparkan-runtime/src/lib.rs') diff --git a/crates/fparkan-runtime/src/lib.rs b/crates/fparkan-runtime/src/lib.rs index 3f60eb42..c2b4f7e5 100644 --- a/crates/fparkan-runtime/src/lib.rs +++ b/crates/fparkan-runtime/src/lib.rs @@ -125,6 +125,7 @@ mod player_weapon; mod production; mod projectile; mod projectile_damage; +mod projectile_flight; mod projectile_parts; mod projectile_shield; mod weapon_deployment; @@ -192,6 +193,7 @@ pub use projectile::{ load_player_projectile, projectile_terrain_hit, projectile_unit_hit, PlayerProjectile, ProjectileAssets, ProjectileContact, ProjectileImpact, ProjectileNode, }; +pub use projectile_flight::{ProjectileFlightHit, ProjectileFlightStep}; pub use projectile_parts::{depleted_chassis_nodes, depleted_warbot_nodes}; pub use research::order_lab_research; pub use robot_designer::{load_gameplay_mission, load_gameplay_mission_with_build_parts}; -- cgit v1.2.3