Chaos::TriQuadPrismInflation

When encountering a triangle or quad in hull generation (3-points or 4 coplanar points) we will instead generate a prism with a small thickness to emulate the desired result as a hull.

Windows
MacOS
Linux

References

Module

Chaos

Header

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

Include

#include "Chaos/CollisionConvexMesh.h"

Syntax

namespace Chaos
{
    static constexpr float Chaos::TriQuadPrismInflation()
}

Remarks

When encountering a triangle or quad in hull generation (3-points or 4 coplanar points) we will instead generate a prism with a small thickness to emulate the desired result as a hull. Otherwise hull generation will fail on these cases. Verbose logging on LogChaos will point out when this path is taken for further scrutiny about the geometry

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