Module |
|
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 |
Chaos::FPBDRigidClusteredParticleHandle * CreateClusterParticle
(
const int32 ClusterGroupIndex,
TArray< Chaos::FPBDRigidParticleHandle * > && Children,
const FClusterCreationParameters & Parameters,
TSharedPtr< Chaos::FImplicitObject, ESPMode::ThreadSafe > ProxyGeometry,
const FRigidTransform3 * ForceMassOrientation,
const FUniqueIdx * ExistingIndex
)
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.