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:
parent
0c944a5a51
commit
80d2c7f305
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue