From da4c8ed23fe5289dbdc7d81a6eb6ddf66ff94ef7 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 26 Nov 2026 05:05:02 +0400 Subject: fix(movement): route autonomous units around buildings Project the bounds of live building meshes onto the ground and expand them by the vehicle radius. The shared route follower chooses exterior corners for blocked legs and can leave a footprint containing its starting position. Verified a detour on the stock factory geometry, stock builder resupply, a window run of Single.01, and 15 minutes of simulation on all 29 missions. Narrow openings, flying clearance and moving bodies remain open. --- 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 a4444860..606b0987 100644 --- a/crates/fparkan-runtime/src/lib.rs +++ b/crates/fparkan-runtime/src/lib.rs @@ -94,6 +94,7 @@ mod projectile; mod research; mod resource_distribution; mod route_motion; +mod route_obstacles; use resource_distribution::advance_behavior_distributor_tick; mod script_host; mod script_patrol; -- cgit v1.2.3