FConvex::FindClosestFaceAndVertices

Finds the first intersecting face at given position

Windows
MacOS
Linux

Override Hierarchy

FImplicitObject::FindClosestFaceAndVertices()

FConvex::FindClosestFaceAndVertices()

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Convex.h

Include

#include "Chaos/Convex.h"

Source

/Engine/Source/Runtime/Experimental/Chaos/Private/Chaos/Convex.cpp

Syntax

virtual int32 FindClosestFaceAndVertices
(
    const FVec3 & Position,
    TArray< FVec3 > & FaceVertices,
    FReal SearchDist
) const

Remarks

Finds the first intersecting face at given position

Parameters

Parameter

Description

Position

local position to search around (for example a point on the surface of a convex hull)

FaceIndices

Vertices that lie on the face plane.

SearchDistance

distance to surface [def:0.01]

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