Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/FMeshContactGenerator
Description
Loop over (the required subset of) all triangles and call the TriangleContactGenerator to create a manifold for each. TriangleContactGeneratorType: void(const FTriangle& Triangle, FContactPointManifold& OutContactPoints)
| Name | GenerateMeshContacts |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Collision/MeshContactGenerator.h |
| Include Path | #include "Chaos/Collision/MeshContactGenerator.h" |
template<typename TriangleContactGeneratorType>
void GenerateMeshContacts
(
const TriangleContactGeneratorType & TriangleContactGenerator
)