mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-05-17 07:21:43 +00:00
fix: do not clamp iw4 physpreset mass
This commit is contained in:
@@ -34,7 +34,7 @@ namespace
|
||||
|
||||
void CopyToPhysPresetInfo(const PhysPreset* physPreset, PhysPresetInfo* physPresetInfo)
|
||||
{
|
||||
physPresetInfo->mass = std::clamp(physPreset->mass * 1000.0f, 1.0f, 2000.0f);
|
||||
physPresetInfo->mass = physPreset->mass;
|
||||
physPresetInfo->bounce = physPreset->bounce;
|
||||
|
||||
if (std::isinf(physPreset->friction))
|
||||
|
||||
Reference in New Issue
Block a user