FPBDConstraintGraph::EnableParticle

Adds `ChildParticle_ to the constraint graph.

Windows
MacOS
Linux

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/PBDConstraintGraph.h

Include

#include "Chaos/PBDConstraintGraph.h"

Source

/Engine/Source/Runtime/Experimental/Chaos/Private/Chaos/PBDConstraintGraph.cpp

Syntax

void EnableParticle
(
    TGeometryParticleHandle< FReal, 3 > * ChildParticle,
    const TGeometryParticleHandle< FReal, 3 > * ParentParticle
)

Remarks

Adds ChildParticle_ to the constraint graph. Copies the sleeping state and island of ParentParticle to `ChildParticle. Does nothing if `ParentParticle_ is not supplied.

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