FindFaceIndex

Find the face index for a given hit. This gives us a chance to modify face index based on things like most opposing normal.

Windows
MacOS
Linux

References

Module

PhysicsCore

Header

/Engine/Source/Runtime/PhysicsCore/Public/PhysicsInterfaceUtilsCore.h

Include

#include "PhysicsInterfaceUtilsCore.h"

Source

/Engine/Source/Runtime/PhysicsCore/Private/PhysicsInterfaceUtilsCore.cpp

Syntax

uint32 FindFaceIndex
(
    const FHitLocation & PHit,
    const FVector & UnitDirection
)

Remarks

Find the face index for a given hit. This gives us a chance to modify face index based on things like most opposing normal.

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