FSeparatingAxisPointCheck

[FSeparatingAxisPointCheck](API\Runtime\Engine\FSeparatingAxisPointCheck) - Checks for intersection between an AABB and a convex polygon.

Windows
MacOS
Linux

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

Name Description

Public variable

float

 

BestDist

The amount that the bounding box is penetrating the axis defined by HitNormal

Public variable

bool

 

bHit

Whether the bounding box intersects with the polygon

Public variable

FVector

 

HitNormal

The normal of the separating axis that the bounding box is penetrating the least

Constructors

Name Description

Public function

FSeparatingAxisPointCheck

(
    const TArray< FVector >& InPolyVer...,
    const FVector& InBoxCenter,
    const FVector& InBoxExtent,
    bool bInCalcLeastPenetration
)

Creates an object representing the intersection between an axis-aligned bounding box and a convex polygon.

Public function

FSeparatingAxisPointCheck

(
    const FVector& InV0,
    const FVector& InV1,
    const FVector& InV2,
    const FVector& InBoxCenter,
    const FVector& InBoxExtent,
    float InBestDist
)

Legacy constructor for the class (deprecated)

Constants

Name

Description

TriangleVertices

Array into which triangle vertices are placed (legacy use only)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss