Chaos::EGJKDistanceResult

Status of a call to GJKDistance.

Windows
MacOS
Linux

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/GJK.h

Include

#include "Chaos/GJK.h"

Syntax

namespace Chaos
{
    enum EGJKDistanceResult
    {
        Separated,
        Contact,
        DeepContact,
    }
}

Values

Name

Description

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.

Remarks

Status of a call to GJKDistance.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss