FImplicitObject::FindClosestFaceAndVertices

Finds the first intersecting face at given position

Windows
MacOS
Linux

Override Hierarchy

References

Module

Chaos

Header

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

Include

#include "Chaos/ImplicitObject.h"

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