Navigation
API > API/Runtime > API/Runtime/Chaos
Status of a call to GJKDistance.
| Name | Chaos::EGJKDistanceResult |
| Type | enum |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/GJK.h |
| Include Path | #include "Chaos/GJK.h" |
Syntax
namespace Chaos
{
enum EGJKDistanceResult
{
Separated,
Contact,
DeepContact,
}
}
Values
| Name | Remarks |
|---|---|
| Separated | The shapes are separated by a positive amount and all outputs have valid values. |
| Contact | The shapes are overlapping by less than the net margin and all outputs have valid values (with a negative separation) |
| DeepContact | The shapes are overlapping by more than the net margin and all outputs are invalid (unchanged from their input values) |