#include <Collision.h>
◆ FSeparatingAxisPointCheck()
| FSeparatingAxisPointCheck::FSeparatingAxisPointCheck |
( |
const TArray< FVector > & |
InPolyVertices, |
|
|
const FVector & |
InBoxCenter, |
|
|
const FVector & |
InBoxExtent, |
|
|
bool |
bInCalcLeastPenetration = true |
|
) |
| |
|
inline |
Creates an object representing the intersection between an axis-aligned bounding box and a convex polygon.
- Parameters
-
| 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. |
◆ BestDist
| float FSeparatingAxisPointCheck::BestDist |
The amount that the bounding box is penetrating the axis defined by HitNormal
◆ bHit
| bool FSeparatingAxisPointCheck::bHit |
Whether the bounding box intersects with the polygon
◆ HitNormal
| FVector FSeparatingAxisPointCheck::HitNormal |
The normal of the separating axis that the bounding box is penetrating the least
The documentation for this class was generated from the following files: