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 FVector CalculateCenterOfMass
(
const TArray< FVector > & InVertices,
const TArray< FIntVector > & InTriangles
)
Calculates the center of mass of a shape
Parameter |
Description |
---|---|
InVertices |
Verts in the shape |
InTriangles |
Triangles represented in InVertices |