From ce4fdc768602efe7c621e631c1390d8d76248505 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 26 Nov 2026 09:24:02 +0400 Subject: feat(combat): apply projectile hits to chassis nodes Use prepared chassis triangles to choose a loaded NDP node. Exhausted ordinary parts play their authored EXPL independently of root death. Unresolved mounted geometry keeps a sphere contact on exit. A stock side-shot fixture exhausts a heavy chassis part while the hull survives. --- apps/fparkan-game/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps') diff --git a/apps/fparkan-game/src/main.rs b/apps/fparkan-game/src/main.rs index 844c260f..f33505bb 100644 --- a/apps/fparkan-game/src/main.rs +++ b/apps/fparkan-game/src/main.rs @@ -10644,7 +10644,7 @@ impl StaticVulkanApp { "sim_coverage player_projectile_target_stub=1 target={} result={outcome:?}", hit.handle.slot, ), } - if hit.building_node.is_some() { + if hit.building_node().is_some() { "building" } else { "unit" -- cgit v1.2.3