Cut 5b-2: Hybrid B centroidal GRF + 2nd-order joint mech locomotion across all 7 walkers

This commit is contained in:
Meta Vens 2026-12-05 06:37:26 +01:00
commit dee2e738d8
9 changed files with 3077 additions and 431 deletions

View file

@ -252,8 +252,11 @@ namespace RustToDust.Tests
var other = session.State.Spectators.Spectators[i];
if (other.Id != provokedSpec.Id && other.Id != clearedSpec.Id)
{
float farX = (mesa.X >= 0f ? -1f : 1f) * 680f;
float farZ = (mesa.Z >= 0f ? -1f : 1f) * 680f;
// Space bystanders in a non-overlapping grid at the far corner so Box3D never stacks them into a tower peeking over the mesa
float signX = mesa.X >= 0f ? -1f : 1f;
float signZ = mesa.Z >= 0f ? -1f : 1f;
float farX = signX * (730f - (i % 8) * 16f);
float farZ = signZ * (730f - (i / 8) * 16f);
session.SetSpectatorPose(other.Id, farX, farZ);
}
}