mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-13 09:50:43 -05:00
increase the ragdoll limits to hopefully prevent bodys falling into themselves
This commit is contained in:
parent
688ff6f334
commit
42d2ac37dd
@ -16,7 +16,7 @@ namespace Aki.Custom.Patches
|
|||||||
[PatchPrefix]
|
[PatchPrefix]
|
||||||
private static void PatchPreFix(ref Vector3 velocity)
|
private static void PatchPreFix(ref Vector3 velocity)
|
||||||
{
|
{
|
||||||
velocity.y = Mathf.Clamp(velocity.y, -1f, 1f);
|
velocity.y = Mathf.Clamp(velocity.y, -2f, 2f);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user