feat(audio): connect ball impacts to feedback

This commit is contained in:
Josh Creek
2026-09-01 23:20:35 +01:00
parent 510138eb0a
commit fcb38b3d57
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -183,6 +183,7 @@ func spawn_camera_rig(target: Ship) -> ShipCameraRig:
var rig: ShipCameraRig = CAMERA_RIG_SCENE.instantiate()
add_child(rig)
_camera_rig = rig
rig.impact_feedback.connect(AudioManager.play_impact)
rig.target = target
# Also wires the scene's static HUD (if any) to the same ship, rather
# than letting it guess via the "ship" group.