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 |
void UpdateMassProperties
(
Chaos::FPBDRigidClusteredParticleHandle * Parent,
TSet< FPBDRigidParticleHandle * > & Children,
const FRigidTransform3 * ForceMassOrientation
)
Ryan - do we still need this? void InitTopLevelClusterParents(const int32 StartIndex) { if (!StartIndex) { TopLevelClusterParents.Reset(); } for (uint32 i = StartIndex; i < MParticles.Size(); ++i) { if (MParticles.ClusterIds(i).Id == INDEX_NONE && !MParticles.Disabled(i)) { TopLevelClusterParents.Add(i); } } }