Module |
|
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
(
const TArray< FAnimPhysShape > & InShapes,
const FVector & InCenterOfMass
)
Calculate the inertia tensor of a collection of shapes
Parameter |
Description |
---|---|
InShapes |
Shapes to use |
InCenterOfMass |
Center of mass of the collection |