/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/GJK.h
This algorithm aborts if objects are overlapping and it does not initialize the out parameters.
EGJKDistanceResult - see comments on the enum
namespace Chaos { template<typename T, typename GJKShapeTypeA, typename GJKShapeTypeB> [EGJKDistanceResult](API\Runtime\Chaos\Chaos\Chaos__EGJKDistanceResult) Chaos::GJKDistance ( const GJKShapeTypeA & A, const GJKShapeTypeB & B, const [TVec3](API\Runtime\ChaosCore\Chaos\TVec3)< T > & InitialV, T & OutDistance, [TVec3](API\Runtime\ChaosCore\Chaos\TVec3)< T > & OutNearestA, [TVec3](API\Runtime\ChaosCore\Chaos\TVec3)< T > & OutNearestB, [TVec3](API\Runtime\ChaosCore\Chaos\TVec3)< T > & OutNormalA, const T Epsilon, const int32 MaxIts ) }