TPBDRigidClustering::UpdateMassProperties

Ryan - do we still need this? void InitTopLevelClusterParents(const int32 StartIndex) { if (!StartIndex) { [TopLevelClusterParents.Reset()](API\Runtime\Chaos\Chaos\Chaos__EKinematicTargetMode); } for (uint32 i = StartIndex; i < MParticles.Size(); ++i) { if (MParticles.ClusterIds(i).Id == INDEX_NONE && !MParticles.[Disabled(i)](API\Runtime\Chaos\Chaos\Chaos__ECollisionModifierResult)) { TopLevelClusterParents.Add(i); } } }

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

void UpdateMassProperties
(
    Chaos::FPBDRigidClusteredParticleHandle * Parent,
    TSet< FPBDRigidParticleHandle * > & Children,
    const FRigidTransform3 * ForceMassOrientation
)

Remarks

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); } } }

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