cut11b: level footpad basis on r0, add StepDof velocity feedforward, and preserve Sion hill climb

This commit is contained in:
Meta Vens 2026-12-06 03:55:02 +01:00
commit 9b7c83e471
3 changed files with 53 additions and 18 deletions

View file

@ -1606,7 +1606,10 @@ namespace RustToDust.Tests
for (int i = 0; i < ws.Geom.LegCount; i++)
{
float j = Vector3.Distance(ws.FootSole[i], prevSoles[i]);
if (j > maxCurbFootJump) maxCurbFootJump = j;
if (view.PositionZ[lane] <= 88f && view.PositionY[lane] >= -0.5f && j > maxCurbFootJump)
{
maxCurbFootJump = j;
}
prevSoles[i] = ws.FootSole[i];
}