0
0
mirror of https://github.com/sp-tarkov/modules.git synced 2025-02-13 01:50:45 -05:00

increase the ragdoll limits to hopefully prevent bodys falling into themselves

This commit is contained in:
Kaeno 2024-04-05 00:43:38 +01:00 committed by Refringe
parent 688ff6f334
commit 42d2ac37dd
Signed by: Refringe
GPG Key ID: 7715B85B4A6306ED

View File

@ -16,7 +16,7 @@ namespace Aki.Custom.Patches
[PatchPrefix]
private static void PatchPreFix(ref Vector3 velocity)
{
velocity.y = Mathf.Clamp(velocity.y, -1f, 1f);
velocity.y = Mathf.Clamp(velocity.y, -2f, 2f);
}
}
}