Tests: TurnRateIsTheActuatorsTurn idles the drives before it checks a Direction write

The backfilled Large Drives differ in quality, so a held forward thrust is a net torque and TurnRate never settled to zero. Release the movement demand with the turn demand.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-09 03:35:13 +02:00
commit 80d2c7f305

View file

@ -239,6 +239,7 @@ public sealed partial class RunStartTests
// A write to Direction between steps (staging, a load, a wormhole exit) is not a turn.
player.Turn = 0;
player.MovementDirection = float2(0, 0); // two backfilled drives differ in quality, so a held thrust is a net torque
for (var step = 0; step < 600 && abs(player.TurnRate) > 0; step++) arena.Update(ClockFrame);
player.Direction = normalize(float2(3, -4));
arena.Update(ClockFrame);