diff options
| author | Valentin Popov <valentin@popov.link> | 2026-11-26 04:28:47 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-11-26 04:28:47 +0300 |
| commit | 52a7977710508d31440d94a2d5ae345116e11448 (patch) | |
| tree | dc050161a807555b2367d3f10aeec62aff32be6f /crates/fparkan-runtime/src/lib.rs | |
| parent | b5c1c1d4b108260765095c1dea6814ad6f707589 (diff) | |
| download | fparkan-52a7977710508d31440d94a2d5ae345116e11448.tar.xz fparkan-52a7977710508d31440d94a2d5ae345116e11448.zip | |
feat(movement): roll authored wheel loops from chassis travel
Select wrapping controller rows backed by a full MSH rotation around a fixed axle. Use chassis displacement and the wheel radius to advance each loop. Sample the wheel nodes in the live component hierarchy and reset the phase when the rendered slot gets a new owner.
The stock wheeled chassis samples a quarter turn after a quarter circumference and retains it while still. AutoDemo spawned the chassis and ran with clean Vulkan validation. Gait, tracks and in-place turning remain open.
Diffstat (limited to 'crates/fparkan-runtime/src/lib.rs')
| -rw-r--r-- | crates/fparkan-runtime/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/fparkan-runtime/src/lib.rs b/crates/fparkan-runtime/src/lib.rs index 309ff388..e27d9c18 100644 --- a/crates/fparkan-runtime/src/lib.rs +++ b/crates/fparkan-runtime/src/lib.rs @@ -108,7 +108,9 @@ mod unit_patrol; mod unit_size_class; mod unit_spawn; mod weapon_pose; +mod wheel_animation; pub use weapon_pose::{initial_component_node_times, WeaponPoseReport}; +pub use wheel_animation::WheelAnimation; pub use autodemo::{autodemo_camera, AutoDemoCamera, AutoDemoReinforcement, AutoDemoView}; pub use boarding::{ |
