Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/Chaos > API/Runtime/Chaos/Chaos/FConvex
- FImplicitObject::FindClosestFaceAndVertices()
- FConvex::FindClosestFaceAndVertices()
References
Module | Chaos |
Header | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Convex.h |
Include | #include "Chaos/Convex.h" |
Source | /Engine/Source/Runtime/Experimental/Chaos/Private/Chaos/Convex.cpp |
virtual int32 FindClosestFaceAndVertices
&40;
const FVec3 & Position,
TArray< FVec3 > & FaceVertices,
FReal SearchDist
&41; const
Remarks
Finds the first intersecting face at given position
Parameters
Name | Description |
---|---|
Position | local position to search around (for example a point on the surface of a convex hull) |
FaceIndices | Vertices that lie on the face plane. |
SearchDistance | distance to surface [def:0.01] |