Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Animation > FAnimPhys > CalculateInertia
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 |
static FMatrix CalculateInertia
&40;
const TArray< FVector > & InVertices,
const TArray< FIntVector > & InTriangles,
const FVector & InCenterOfMass
&41;
Remarks
Calculate the inertia tensor of a shape
Parameters
Name | Description |
---|---|
InVertices | Verts in the shape |
InTriangles | Triangles represented in InVertices |
InCenterOfMass | Center of mass of the shape |