cut11b: tighten FirstStepFromIdle break ratio so heavy quads release cleanly
This commit is contained in:
parent
e296cc3992
commit
0318fc0415
1 changed files with 1 additions and 1 deletions
|
|
@ -1484,7 +1484,7 @@ namespace RustToDust.Ymir
|
||||||
|
|
||||||
// Early step-completion break if a planted leg reaches > effectiveBreakFrac * MaxLegReach
|
// Early step-completion break if a planted leg reaches > effectiveBreakFrac * MaxLegReach
|
||||||
bool earlyBreak = false;
|
bool earlyBreak = false;
|
||||||
float minBreakTime = Math.Clamp(minDur * (ws.FirstStepFromIdle ? 0.68f : 0.90f), 0.075f, 0.22f);
|
float minBreakTime = Math.Clamp(minDur * (ws.FirstStepFromIdle ? 0.38f : 0.90f), 0.075f, 0.22f);
|
||||||
if (ws.SwingTime >= minBreakTime && ws.SwingPhase > overlap + 0.15f)
|
if (ws.SwingTime >= minBreakTime && ws.SwingPhase > overlap + 0.15f)
|
||||||
{
|
{
|
||||||
Vector3 curPelvisShift = Vector3.Transform(ws.PelvisOffset, qYaw);
|
Vector3 curPelvisShift = Vector3.Transform(ws.PelvisOffset, qYaw);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue