Chaos::EPA

Expanding Polytope Algorithm for finding the contact point for overlapping convex polyhedra.

Windows
MacOS
Linux

References

Module

Chaos

Header

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

Include

#include "Chaos/EPA.h"

Syntax

namespace Chaos
{
    template<typename T, typename SupportALambda, typename SupportBLambda>
    EEPAResult Chaos::EPA
    (
        TArray< TVec3< T >> & VertsABuffer,
        TArray< TVec3< T >> & VertsBBuffer,
        const SupportALambda & SupportA,
        const SupportBLambda & SupportB,
        T & OutPenetration,
        TVec3< T > & OutDir,
        TVec3< T > & WitnessA,
        TVec3< T > & WitnessB
    )
}

Remarks

Expanding Polytope Algorithm for finding the contact point for overlapping convex polyhedra. See e.g., "Collision Detection in Interactive 3D Environments" (Gino van den Bergen, 2004) or "Real-time Collision Detection with Implicit Objects" (Leif Olvang, 2010)

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