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)

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback