Navigation
API > API/Runtime > API/Runtime/Chaos
Description
Check whether the convex-triangle edge pair form part of the Minkowski Sum. Only edge pairs that contribute to the Minkowki Sum surface need to be checked for separation. The inputs are the convex normals for the two faces that share the convex edge, and the normal and edge vector of the triangle.
This is a custom version of IsOnMinkowskiSumConvexConvex for triangles where the two normals are directly opposing and therefore the regular edge vector calculation returns zero.
| Name | Chaos::Private::IsOnMinkowskiSumConvexTriangle |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Collision/ConvexContactPointUtilities.h |
| Include Path | #include "Chaos/Collision/ConvexContactPointUtilities.h" |
namespace Chaos
{
namespace Private
{
bool Chaos::Private::IsOnMinkowskiSumConvexTriangle
(
const FVec3 & A,
const FVec3 & B,
const FVec3 & BA,
const FVec3 & C,
const FVec3 & DC
)
}
}
Parameters
| Name | Remarks |
|---|---|
| A | ConvexNormalA |
| B | ConvexNormalB |
| BA | ConvexEdge |
| C | TriNormal (negated) |
| DC | TriEdge |