Chaos::GJKPenetration

This function will be faster if bNegativePenetrationSupport is false, so don't use the feature if not required.

Windows
MacOS
Linux

References

Module

Chaos

Header

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

Include

#include "Chaos/GJK.h"

Syntax

namespace Chaos
{
    template<bool bNegativePenetrationSupport, typename T, typename TGeometryA, typename TGeometryB>
    bool Chaos::GJKPenetration
    (
        const TGeometryA & A,
        const TGeometryB & B,
        const TRigidTransform < T, 3 > & BToATM,
        T & OutPenetration,
        TVec3 < T > & OutClosestA,
        TVec3 < T > & OutClosestB,
        TVec3 < T > & OutNormal,
        const T InThicknessA,
        const TVector < T, 3 > & InitialDir,
        const T InThicknessB,
        int32 * OutNumIterations
    )
}

Remarks

This function will be faster if bNegativePenetrationSupport is false, so don't use the feature if not required.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback