diff options
| author | Valentin Popov <valentin@popov.link> | 2026-11-26 04:05:02 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-11-26 04:05:02 +0300 |
| commit | da4c8ed23fe5289dbdc7d81a6eb6ddf66ff94ef7 (patch) | |
| tree | d7e891167d8249195bef209e074787daab0fcc73 /crates/fparkan-runtime/src/lib.rs | |
| parent | 683d970343383d63eeb22219080c190769f888b1 (diff) | |
| download | fparkan-da4c8ed23fe5289dbdc7d81a6eb6ddf66ff94ef7.tar.xz fparkan-da4c8ed23fe5289dbdc7d81a6eb6ddf66ff94ef7.zip | |
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.
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 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; |
