Navigation
API > API/Runtime > API/Runtime/Chaos
Description
Avoid this function - use GJKDistanceInitialVFromDirection that takes a vector direction and assumes the geometries are in the same space. If your geometries are not in the same space, they can be wrapped in TGJKShapeTransformed or TGJKCoreShapeTransformed and you would already have these available because you need them for GJKDistance
| Name | Chaos::GJKDistanceInitialVFromRelativeTransform |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/GJK.h |
| Include Path | #include "Chaos/GJK.h" |
namespace Chaos
{
template<typename T, typename TGeometryA, typename TGeometryB>
TVector < T, 3 > Chaos::GJKDistanceInitialVFromRelativeTransform
(
const TGeometryA & A,
const TGeometryB & B,
const TRigidTransform < T, 3 > & BToATM
)
}