Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/TGJKSimplexData
Description
Recompute the Simplex and separating vector from the stored data at the current relative transform This aborts if we have no simplex data to restore or the origin is inside the simplex. Outputs must already have reasonable default values for running GJK without a warm-start.
| Name | Restore |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/GJK.h |
| Include Path | #include "Chaos/GJK.h" |
void Restore
(
const TRigidTransform < T, 3 > & BToATM,
FSimplex & OutSimplexIDs,
TVec3< T > OutSimplex,
TVec3< T > & OutV,
T & OutDistance,
const T Epsilon
)