Navigation
Unreal Engine C++ API Reference > Runtime > Chaos > Chaos > FImplicitObject
- FImplicitObject::FindGeometryOpposingNormal()
- FHeightField::FindGeometryOpposingNormal()
- FConvex::FindGeometryOpposingNormal()
- FTriangleMeshImplicitObject::FindGeometryOpposingNormal()
References
Module | Chaos |
Header | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/ImplicitObject.h |
Include | #include "Chaos/ImplicitObject.h" |
virtual FVec3 FindGeometryOpposingNormal
&40;
const FVec3 & DenormDir,
int32 FaceIndex,
const FVec3 & OriginalNormal
&41; const
Remarks
Given a normal and a face index, compute the most opposing normal associated with the underlying geometry features. For example a sphere swept against a box may not give a normal associated with one of the box faces. This function will return a normal associated with one of the faces. The most opposing normal associated with the underlying geometry's feature (like a face)
Parameters
Name | Description |
---|---|
DenormDir | the direction we want to oppose |
FaceIndex | the face index associated with the geometry (for example if we hit a specific face of a convex hull) |
OriginalNormal | the original normal given by something like a sphere sweep |