Module |
|
Header |
/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/GJK.h |
Include |
#include "Chaos/GJK.h" |
namespace Chaos
{
template<typename T, typename TGeometryA, typename TGeometryB>
bool Chaos::GJKIntersection
(
const TGeometryA & A,
const TGeometryB & B,
const TRigidTransform< T, 3 > & BToATM,
const T InThicknessA,
const TVector< T, 3 > & InitialDir,
const T InThicknessB
)
}
Determines if two convex geometries overlap. The first geometry The second geometry The transform of B in A's local space The amount of geometry inflation for Geometry A(for example if the surface distance of two geometries with thickness 0 would be 2, a thickness of 0.5 would give a distance of 1.5) The first direction we use to search the CSO The amount of geometry inflation for Geometry B(for example if the surface distance of two geometries with thickness 0 would be 2, a thickness of 0.5 would give a distance of 1.5)
True if the geometries overlap, False otherwise