| FImplicitObject::FindMostOpposingFace()
|
Module |
|
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 |
Returns the most opposing face.
Index of the most opposing face
Parameter |
Description |
---|---|
Position |
local position to search around (for example an edge of a convex hull) |
UnitDir |
the direction we want to oppose (for example a ray moving into the edge of a convex hull would get the face with the most negative dot(FaceNormal, UnitDir) |
HintFaceIndex |
for certain geometry we can use this to accelerate the search. |