Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FAnimPhys
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FMatrix CalculateInertia
(
const TArray< FAnimPhysShape >& InShapes, |
Calculate the inertia tensor of a collection of shapes | Animation/AnimPhysicsSolver.h | |
static FMatrix CalculateInertia
(
const TArray< FVector >& InVertices, |
Calculate the inertia tensor of a shape | Animation/AnimPhysicsSolver.h |
CalculateInertia(const TArray< FAnimPhysShape > &, const FVector &)
Description
Calculate the inertia tensor of a collection of shapes
| Name | CalculateInertia |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Animation/AnimPhysicsSolver.h |
| Include Path | #include "Animation/AnimPhysicsSolver.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Animation/AnimPhysicsSolver.cpp |
static FMatrix CalculateInertia
(
const TArray < FAnimPhysShape > & InShapes,
const FVector & InCenterOfMass
)
Parameters
| Name | Remarks |
|---|---|
| InShapes | Shapes to use |
| InCenterOfMass | Center of mass of the collection |
CalculateInertia(const TArray< FVector > &, const TArray< FIntVector > &, const FVector &)
Description
Calculate the inertia tensor of a shape
| Name | CalculateInertia |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Animation/AnimPhysicsSolver.h |
| Include Path | #include "Animation/AnimPhysicsSolver.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Animation/AnimPhysicsSolver.cpp |
static FMatrix CalculateInertia
(
const TArray < FVector > & InVertices,
const TArray < FIntVector > & InTriangles,
const FVector & InCenterOfMass
)
Parameters
| Name | Remarks |
|---|---|
| InVertices | Verts in the shape |
| InTriangles | Triangles represented in InVertices |
| InCenterOfMass | Center of mass of the shape |