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

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