From fbaf44e97a413e1705b1dfb011849e19d4b21fa5 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 26 Nov 2026 06:17:14 +0400 Subject: fix(movement): drive tread material cycles from chassis travel Bind animated tread batches to their individual hull displacements. Preserve the authored phase sequence and derive nominal cycle length from the Control speed, scale and MAT0 duration. Checked stock tracked models in the normal AutoDemo window with Vulkan validation clean. Signed travel, stop and respawn are covered by a unit test. Per-track turning and physical cycle length are approximate. --- crates/fparkan-runtime/src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (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 dda56734..627714ba 100644 --- a/crates/fparkan-runtime/src/lib.rs +++ b/crates/fparkan-runtime/src/lib.rs @@ -102,12 +102,14 @@ use resource_distribution::advance_behavior_distributor_tick; mod script_host; mod script_patrol; mod script_time; +mod tread_animation; +pub use tread_animation::TreadAnimation; 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; +pub use unit_chassis::{loaded_tracked_chassis, loaded_walk_chassis}; mod unit_combat; mod unit_motion; pub use unit_motion::{loaded_mission_unit_motion_report, UnitMotionReport, UnitMotionSample}; -- cgit v1.2.3