Module |
|
Header |
/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/GJKShape.h |
Include |
#include "Chaos/GJKShape.h" |
template<typename T_SHAPE>
struct TGJKCoreShape
Wraps an FImplicitObject and provides the API required for GJK, treating the shape as if it has a reduced "core" shape with a margin suitable for collision detection where significant overlaps are likely. This means spheres will be points, convexes will be rounded shrunken hulls, etc.
See also TGJKShape
E.g., to use GJK of a sphere as a point against a marginless convex: GJKDistance(TGJKCoreShape(MySphere), TGJKShape(MyConvex), ...);
Name | Description | |
---|---|---|
|
TGJKCoreShape ( |
|
|
TGJKCoreShape ( |
Name | Description | ||
---|---|---|---|
|
GetMargin() |
||
|
IsConvex() |
||
|
SupportCore |
Name |
Description |
---|---|
FImplicitObjectType |