UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FSeparatingAxisPointCheck Class Reference

#include <Collision.h>

Public Member Functions

 FSeparatingAxisPointCheck (const TArray< FVector > &InPolyVertices, const FVector &InBoxCenter, const FVector &InBoxExtent, bool bInCalcLeastPenetration=true)
 

Public Attributes

FVector HitNormal
 
float BestDist
 
bool bHit
 

Constructor & Destructor Documentation

◆ 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
InPolyVerticesArray of points forming a convex polygon.
InBoxCenterThe center of the axis-aligned bounding box being checked.
InBoxExtentThe extents of the axis-aligned bounding box being checked.
bInCalcLeastPenetrationWhether the axis and amount of penetration of the bounding box into the polygon should be calculated.

Member Data Documentation

◆ 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: