Chaos::GJKDistanceInitialV

Used by GJKDistance.

Windows
MacOS
Linux

References

Module

Chaos

Header

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

Include

#include "Chaos/GJK.h"

Syntax

namespace Chaos
{
    template<typename T, typename TGeometryA, typename TGeometryB>
    TVector< T, 3 > Chaos::GJKDistanceInitialV
    (
        const TGeometryA & A,
        T MarginA,
        const TGeometryB & B,
        T MarginB,
        const TRigidTransform< T, 3 > & BToATM
    )
}

Remarks

Used by GJKDistance. It must return a vector in the Minkowski sum A - B. In principle this can be the vector of any point in A to any point in B, but some choices will cause GJK to minimize faster (e.g., for two spheres, we can easily calculate the actual separating vector and GJK will converge immediately).

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