From 81eb7cd67af54780756a98475145a864b72cbee0 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 26 Nov 2026 06:07:45 +0400 Subject: feat(combat): aim autonomous turrets with authored tracks Convert the selected target to the turret mount space and sample the authored azimuth and elevation tracks for rendering and the CPU muzzle query. Leave trigger cadence and target selection intact. Verified the stock AutoDemo launch, turret swivel with Vulkan validation clean, and a stock combat regression. Aim slew and recoil providers remain open. --- crates/fparkan-runtime/src/lib.rs | 4 ++++ 1 file changed, 4 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 9fb9a262..dda56734 100644 --- a/crates/fparkan-runtime/src/lib.rs +++ b/crates/fparkan-runtime/src/lib.rs @@ -102,6 +102,10 @@ use resource_distribution::advance_behavior_distributor_tick; mod script_host; mod script_patrol; mod script_time; +mod turret_aim; +pub use turret_aim::{ + apply_autonomous_turret_pose, autonomous_turret_aim, has_turret_aim, TurretAim, +}; mod unit_chassis; pub use unit_chassis::loaded_walk_chassis; mod unit_combat; -- cgit v1.2.3