FPBDJointUtilities::ConditionInertia

Increase the lower inertia components to ensure that the maximum ratio between any pair of elements is MaxRatio.

Windows
MacOS
Linux

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/PBDJointConstraintUtilities.h

Include

#include "Chaos/PBDJointConstraintUtilities.h"

Source

/Engine/Source/Runtime/Experimental/Chaos/Private/Chaos/PBDJointConstraintUtilities.cpp

Syntax

static FVec3 ConditionInertia
(
    const FVec3 & InI,
    const FReal MaxRatio
)

Remarks

Increase the lower inertia components to ensure that the maximum ratio between any pair of elements is MaxRatio.

Returns

An altered inertia so that the minimum element is at least MaxElement/MaxRatio.

Parameters

Parameter

Description

InI

The input inertia.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss