FAnimPhys::CalculateInertia

Calculate the inertia tensor of a collection of shapes

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/Animation/AnimPhysicsSolver.h

Include

#include "Animation/AnimPhysicsSolver.h"

Source

/Engine/Source/Runtime/Engine/Private/Animation/AnimPhysicsSolver.cpp

Syntax

static FMatrix CalculateInertia
(
    const TArray< FAnimPhysShape > & InShapes,
    const FVector & InCenterOfMass
)

Remarks

Calculate the inertia tensor of a collection of shapes

Parameters

Parameter

Description

InShapes

Shapes to use

InCenterOfMass

Center of mass of the collection

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