diff options
| author | Valentin Popov <valentin@popov.link> | 2026-11-26 05:40:09 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-11-26 05:40:09 +0300 |
| commit | 5a2aa6ff6b6f4ab2480eed5be90957377d00c9e2 (patch) | |
| tree | 158d1f3450a092797b4b87745eef56db1622c2bd /crates/fparkan-runtime/src/weapon_pose.rs | |
| parent | 3837bebc873a32914139e8987a34716008da716c (diff) | |
| download | fparkan-5a2aa6ff6b6f4ab2480eed5be90957377d00c9e2.tar.xz fparkan-5a2aa6ff6b6f4ab2480eed5be90957377d00c9e2.zip | |
feat(combat): play spatial sounds for autonomous weapon shots
Carry the firing effect and muzzle position on the shot event. Resolve single-gun effects by their matching muzzle point when there is no node link. Play each one-shot as its simulation frame arrives.
Verified a stock gun sound enqueues a spatial voice with the flight starting position. AutoDemo ran with Vulkan validation clean and no playback errors. Comparison by ear with the original remains open.
Diffstat (limited to 'crates/fparkan-runtime/src/weapon_pose.rs')
0 files changed, 0 insertions, 0 deletions
