Navigation
API > API/Runtime > API/Runtime/Chaos
Description
Check the GJK iteration count against a limit to prevent infinite loops. We should never really hit the limit but we are seeing it happen in some cases and more often on some platforms than others so for now we have a warning when it hits.
| Name | Chaos::CheckGJKIterationLimit |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/GJK.h |
| Include Path | #include "Chaos/GJK.h" |
namespace Chaos
{
template<typename ConvexTypeA, typename ConvexTypeB>
bool Chaos::CheckGJKIterationLimit
(
const int32 NumIterations,
const ConvexTypeA & A,
const ConvexTypeB & B
)
}