aboutsummaryrefslogtreecommitdiff
path: root/apps/fparkan-game/src/damage_visibility.rs
Commit message (Collapse)AuthorAgeFilesLines
* feat(render): select authored world model lod groupsValentin Popov40 hours1-5/+20
|
* fix(render): preserve building damage ranges when inserting skyValentin Popov4 days1-1/+47
|
* fix(movement): use visible building stages for collisionValentin Popov4 days1-20/+32
| | | | Share building stage selection with the renderer and query the current slot for floor and wall contacts. Verify the same floor probe against the intact and damaged factory in a validated stock mission window.
* fix(render): show building damage stages after projectile hitsValentin Popov4 days1-1/+53
| | | | Update the contacted provider with the native stage rule. Upload the authored variants with their original material and pose, and draw the active stage only. The Two Fortresses plant switches in a validated before/after capture.
* fix(combat): let projectiles destroy mounted warbot partsValentin Popov4 days1-5/+7
| | | | 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.
* feat(render): throw detached chassis nodes as fragmentsValentin Popov9 days1-9/+13
| | | | Pass the depleted node to an authored Op10 with a built-in mesh request. Reuse its existing draw ranges for the flight and keep the hull alive. The fixed-camera fixture shows the heavy track section separate and rotate after impact.
* feat(render): hide exhausted chassis geometryValentin Popov9 days1-0/+86
Use provider depletion and the node visibility flag to suppress the projected Vulkan ranges of a failed chassis part. The matching camera fixture shows the heavy warbot losing one track section after a hit while the rest of the hull remains visible.