diff options
| author | Valentin Popov <valentin@popov.link> | 2026-12-01 07:55:10 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-12-01 07:55:10 +0300 |
| commit | 79635316902c69a363f1d1a9ebef110d94190356 (patch) | |
| tree | 806e345cc9d5553cea330483b828cb080bd22061 /crates/fparkan-runtime/src/lib.rs | |
| parent | 777f48345c7faf891ac105fc4a831114914aff5d (diff) | |
| download | fparkan-79635316902c69a363f1d1a9ebef110d94190356.tar.xz fparkan-79635316902c69a363f1d1a9ebef110d94190356.zip | |
fix(combat): let projectiles destroy mounted warbot parts
Resolve mounted model triangles through the sampled socket chain and publish the damage to the assembled Control provider. Remove the damaged geometry, stop weapons whose provider was depleted, and preserve already separated ranges when the chassis later dies. Confirmed with a licensed AutoDemo ray query and two frames around a controlled hit in the Vulkan window.
Diffstat (limited to 'crates/fparkan-runtime/src/lib.rs')
| -rw-r--r-- | crates/fparkan-runtime/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/fparkan-runtime/src/lib.rs b/crates/fparkan-runtime/src/lib.rs index 0ac5197f..1a46e031 100644 --- a/crates/fparkan-runtime/src/lib.rs +++ b/crates/fparkan-runtime/src/lib.rs @@ -190,7 +190,7 @@ pub use projectile::{ load_player_projectile, projectile_terrain_hit, projectile_unit_hit, PlayerProjectile, ProjectileAssets, ProjectileContact, ProjectileImpact, ProjectileNode, }; -pub use projectile_parts::depleted_chassis_nodes; +pub use projectile_parts::{depleted_chassis_nodes, depleted_warbot_nodes}; pub use research::order_lab_research; pub use robot_designer::{load_gameplay_mission, load_gameplay_mission_with_build_parts}; pub use unit_combat::{AutoDemoCombatEvent, AutoDemoProjectileType, FiringEffectInstance}; |
