From 789fe9fcdcc7d67d3d639f55418639f7051b3764 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Mon, 12 Oct 2026 21:09:13 +0200 Subject: [PATCH] Turn the shooter to the heading the direct-absorb test fires along The mount fires inside an arc about the shooter's facing; the first version fired backwards and found no hit. Co-Authored-By: Claude Opus 5.5 --- tests/Aetheria.Shared.Tests/ImpactFeedbackTests.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Aetheria.Shared.Tests/ImpactFeedbackTests.cs b/tests/Aetheria.Shared.Tests/ImpactFeedbackTests.cs index a72837edd..203a5347a 100644 --- a/tests/Aetheria.Shared.Tests/ImpactFeedbackTests.cs +++ b/tests/Aetheria.Shared.Tests/ImpactFeedbackTests.cs @@ -332,6 +332,8 @@ public sealed partial class FireControlCut124Tests { var e = Build(TestSettings(), SolidShape(21, 3), velocity: 0, damage: 100f, equipShield: shielded, shieldCapacity: 100000f, custom: new[] { ("Marker", new Shape(), new int2(2, 1), 1f) }); e.Weapon.WeaponData.DamageType = DamageType.Thermal; + // The mount fires inside an arc about the shooter's facing, so the shooter turns to the heading it fires along. + e.Shooter.Direction = float2(-.6f, -.8f); e.Target.Position = e.Shooter.Position + float3(-30f, 0f, -40f); for (var i = 0; i < 30; i++) e.Zone.Update(.1f); var subs = new List();