fix(ymir): bound quad earlyBreak plant step to prevent 1-tick downhill foot jump
This commit is contained in:
parent
3510b5ebcd
commit
3d635ca771
1 changed files with 1 additions and 1 deletions
|
|
@ -1521,7 +1521,7 @@ namespace RustToDust.Ymir
|
|||
if (!IsInGroup(n, i, ws.StanceGroup))
|
||||
{
|
||||
Vector3 plantSource = ws.SwingTargetSole[i];
|
||||
float maxPlantStep = MathF.Max(1.15f * scale, horizSpeed * dt * 2.2f);
|
||||
float maxPlantStep = MathF.Max(0.65f * scale, horizSpeed * dt * 2.2f);
|
||||
bool earlyQuadClamp = earlyBreak && !(n == 2 && scale >= 0.70f);
|
||||
if (earlyBreak)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue