Module |
|
Header |
/Engine/Source/Runtime/Experimental/Chaos/Public/GeometryCollection/GeometryCollectionCollisionStructureManager.h |
Include |
#include "GeometryCollection/GeometryCollectionCollisionStructureManager.h" |
Source |
/Engine/Source/Runtime/Experimental/Chaos/Private/GeometryCollection/GeometryCollectionCollisionStructureManager.cpp |
static FImplicit * NewImplicit
(
Chaos::FErrorReporter ErrorReporter,
const Chaos::FParticles & MeshParticles,
const Chaos::FTriangleMesh & TriMesh,
const FBox & CollisionBounds,
const float Radius,
const int32 MinRes,
const int32 MaxRes,
const float CollisionObjectReduction,
const ECollisionTypeEnum CollisionType,
const EImplicitTypeEnum ImplicitType
)
Build a box, sphere, or level set based on `ImplicitType_.
ErrorReporter_ - level set only
MeshParticles - level set only `TriMesh - level set only CollisionBounds_ - box and level set
Radius - sphere only `MinRes - level set only MaxRes_ - level set only
CollisionObjectReduction - shrink percentage; value of 10 reduces by 10%, 0 does nothing, 100 shrinks to zero. `CollisionType - param forwarded to UpdateImplictFlags()_.
ImplicitType_ - type of implicit shape to build.