Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UPrimitiveComponent
Description
Returns the inertia tensor of this component in kg cm^2. The inertia tensor is in local component space.
| Name | GetInertiaTensor |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h |
| Include Path | #include "Components/PrimitiveComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PrimitiveComponentPhysics.cpp |
UFUNCTION (BlueprintPure, Category="Physics",
Meta=(Keywords="physics moment of inertia tensor MOI", UnsafeDuringActorConstruction="true"))
virtual FVector GetInertiaTensor
(
FName BoneName
) const