TPBDRigidClustering::CreateClusterParticle

Initialization Initialize a cluster with the specified children.

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

Chaos::TPBDRigidClusteredParticleHandle< float, 3 > * CreateClusterParticle
(
    const int32 ClusterGroupIndex,
    TArray< Chaos::TPBDRigidParticleHandle< T, d > * > && Children,
    const FClusterCreationParameters< T > & Parameters,
    TSharedPtr< Chaos::FImplicitObject, ESPMode::ThreadSafe > ProxyGeometry,
    const TRigidTransform< T, d > * ForceMassOrientation
)

Remarks

Initialization Initialize a cluster with the specified children.

ClusterGroupIndex_ - Index to join cluster into. Children - List of children that should belong to the cluster `Parameters - ClusterParticleHandle must be valid, this is the parent cluster body. ProxyGeometry : Collision default for the cluster, automatically generated otherwise. ForceMassOrientation : Inertial alignment into mass space.

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