TPBDRigidClustering::ReleaseClusterParticles

ReleaseClusterParticles (BasedOnStrain) Release clusters based on the passed in `ExternalStrainArray_, or the particle handle's current `CollisionImpulses()_ value.

Choose your operating system:

Windows

macOS

Linux

References

Module

Chaos

Header

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

Include

#include "Chaos/PBDRigidClustering.h"

Source

/Engine/Source/Runtime/Experimental/Chaos/Private/Chaos/PBDRigidClustering.cpp

Syntax

TSet< FPBDRigidParticleHandle * > ReleaseClusterParticles
(
    FPBDRigidClusteredParticleHandle * ClusteredParticle,
    const TMap< FGeometryParticleHandle *, FReal > * ExternalStrainMap,
    bool bForceRelease
)

Remarks

ReleaseClusterParticles (BasedOnStrain) Release clusters based on the passed in ExternalStrainArray_, or the particle handle's current CollisionImpulses()_ value. Any cluster bodies that have a strain value less than this valid will be released from the cluster.