Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/UPrimitiveComponent
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 |
virtual FVector ScaleByMomentOfInertia
&40;
FVector InputVector,
FName BoneName
&41; const
Remarks
Scales the given vector by the world space moment of inertia. Useful for computing the torque needed to rotate an object.