UPrimitiveComponent::ScaleByMomentOfInertia

Scales the given vector by the world space moment of inertia.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h

Include

#include "Components/PrimitiveComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/PrimitiveComponentPhysics.cpp

Syntax

virtual FVector ScaleByMomentOfInertia
(
    FVector InputVector,
    FName BoneName
) const

Remarks

Scales the given vector by the world space moment of inertia. Useful for computing the torque needed to rotate an object.

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