Navigation
Unreal Engine C++ API Reference > Runtime > Engine > FSeparatingAxisPointCheck > FSeparatingAxisPointCheck
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/Collision.h |
Include | #include "Collision.h" |
FSeparatingAxisPointCheck
&40;
const TArray< FVector > & InPolyVertices,
const FVector & InBoxCenter,
const FVector & InBoxExtent,
bool bInCalcLeastPenetration
&41;
Remarks
Creates an object representing the intersection between an axis-aligned bounding box and a convex polygon.
Parameters
Name | Description |
---|---|
InPolyVertices | Array of points forming a convex polygon. |
InBoxCenter | The center of the axis-aligned bounding box being checked. |
InBoxExtent | The extents of the axis-aligned bounding box being checked. |
bInCalcLeastPenetration | Whether the axis and amount of penetration of the bounding box into the polygon should be calculated. |