FCollisionStructureManager::NewImplicit

Build a box, sphere, or level set based on `ImplicitType_.

Windows
MacOS
Linux

References

Module

Chaos

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

Syntax

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
)

Remarks

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.

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