From 5ad056292d91bd6a38299c5d890a975a435c8422 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 26 Nov 2026 13:53:28 +0400 Subject: feat(player): lower the communicator field on capture Drive the original CTLD type-13 tracks from the local capture. The Constructor window replay shows the raised and lowered field and four player projectiles stop at the mesh. Leaving resumes the authored open pose. Motion timing and exit trigger remain approximate. --- crates/fparkan-runtime/src/unit_combat.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'crates/fparkan-runtime/src/unit_combat.rs') diff --git a/crates/fparkan-runtime/src/unit_combat.rs b/crates/fparkan-runtime/src/unit_combat.rs index c7d807cc..03bf5c8d 100644 --- a/crates/fparkan-runtime/src/unit_combat.rs +++ b/crates/fparkan-runtime/src/unit_combat.rs @@ -460,7 +460,9 @@ impl AutoDemoCombat { travelled = Some(clip_segment(segment, fraction)); Ok(ground.is_some() || contact.is_some()) }); - if let Some(hit) = contact { + if let Some(hit) = + contact.filter(|hit| hit.node != Some(crate::ProjectileNode::CaptureBarrier)) + { let data = &self.projectiles[flight.projectile]; // Capture the target before applying damage, which may remove it. let target = CombatObject::read(&engine.world, hit.handle); -- cgit v1.2.3