Navigation
API > API/Runtime > API/Runtime/Engine
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Collision.h |
| Include | #include "Collision.h" |
Syntax
class FSeparatingAxisPointCheck
Remarks
FSeparatingAxisPointCheck - Checks for intersection between an AABB and a convex polygon.
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | BestDist | The amount that the bounding box is penetrating the axis defined by HitNormal | |
| bool | bHit | Whether the bounding box intersects with the polygon | |
| FVector | HitNormal | The normal of the separating axis that the bounding box is penetrating the least |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FSeparatingAxisPointCheck
(
const TArray< FVector >& InPolyVertices, |
Creates an object representing the intersection between an axis-aligned bounding box and a convex polygon. | ||
FSeparatingAxisPointCheck
(
const FVector& InV0, |
Legacy constructor for the class (deprecated) |
Constants
| Name | Description |
|---|---|
| TriangleVertices | Array into which triangle vertices are placed (legacy use only) |