UPrimitiveComponent::GetInertiaTensor

Returns the inertia tensor of this component in kg cm^2.

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 GetInertiaTensor
(
    FName BoneName
) const

Remarks

Returns the inertia tensor of this component in kg cm^2. The inertia tensor is in local component space.

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