diff options
| author | Valentin Popov <valentin@popov.link> | 2026-11-26 04:45:53 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-11-26 04:45:53 +0300 |
| commit | 531753ef5fbfa846b4291864458f511d5c7e1b59 (patch) | |
| tree | ad71fdb5a50ff880fc202d85114c41a5877be276 /crates/fparkan-runtime/src/lib.rs | |
| parent | 6ed1829936f23c92b9aec24e0eef6884876bb99b (diff) | |
| download | fparkan-531753ef5fbfa846b4291864458f511d5c7e1b59.tar.xz fparkan-531753ef5fbfa846b4291864458f511d5c7e1b59.zip | |
fix(movement): ground chassis on their lowest mesh points
Sample the terrain under four support points in the initial chassis pose. Preserve any existing positive clearance above support and recalculate the root height after moving or turning, so a low start does not carry penetration across the route.
The stock heavy AutoDemo chassis previously put its root at Z 2 with support at Z 2.9537. The same regression now passes. Verified uneven support and descent, all workspace checks, the 29-mission simulation corpus and an AutoDemo window run with clean Vulkan validation.
Diffstat (limited to 'crates/fparkan-runtime/src/lib.rs')
| -rw-r--r-- | crates/fparkan-runtime/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/fparkan-runtime/src/lib.rs b/crates/fparkan-runtime/src/lib.rs index d8eaf7f6..991e5efc 100644 --- a/crates/fparkan-runtime/src/lib.rs +++ b/crates/fparkan-runtime/src/lib.rs @@ -76,6 +76,7 @@ mod clan_targeting; mod construction; mod construction_site; mod flight_altitude; +mod ground_support; mod laboratory; use behavior_clock::next_crt_rand; mod mesh_collision; |
