diff options
| author | Valentin Popov <valentin@popov.link> | 2026-11-26 05:17:14 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-11-26 05:17:14 +0300 |
| commit | fbaf44e97a413e1705b1dfb011849e19d4b21fa5 (patch) | |
| tree | a40d7f32a72ceae2a09080df01b99dfa6e6326c1 /crates/fparkan-runtime/src/lib.rs | |
| parent | 81eb7cd67af54780756a98475145a864b72cbee0 (diff) | |
| download | fparkan-fbaf44e97a413e1705b1dfb011849e19d4b21fa5.tar.xz fparkan-fbaf44e97a413e1705b1dfb011849e19d4b21fa5.zip | |
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.
Diffstat (limited to 'crates/fparkan-runtime/src/lib.rs')
| -rw-r--r-- | crates/fparkan-runtime/src/lib.rs | 4 |
1 files changed, 3 insertions, 1 deletions
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}; |
