Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/Chaos > API/Runtime/Chaos/Chaos/Chaos__Utilities__ScaleInertia
References
Module | Chaos |
Header | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Utilities.h |
Include | #include "Chaos/Utilities.h" |
namespace Chaos
{
namespace Utilities
{
template<typename T>
TVec3< T > Chaos&58;&58;Utilities&58;&58;ScaleInertia
&40;
const TVec3< T > & Inertia,
const TVec3< T > & Scale,
const bool bScaleMass
&41;
}
}
Remarks
Given the local-space diagonal inertia for an unscaled object, return an inertia as if generated from a non-uniformly scaled shape with the specified scale. If bScaleMass is true, it also takes into account the fact that the mass would have changed by the increase in volume.