From 531753ef5fbfa846b4291864458f511d5c7e1b59 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 26 Nov 2026 05:45:53 +0400 Subject: 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. --- crates/fparkan-runtime/src/lib.rs | 1 + 1 file changed, 1 insertion(+) (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 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; -- cgit v1.2.3