Navigation
API > API/Runtime > API/Runtime/Chaos
FCCDParticle holds data used for applying CCD constraints. We create a FCCDParticle for each dynamic particle involved in CCD constraints, but not for kinematic or static particles. The dynamic particle could be CCD-enabled, or not CCD-enabled but colliding with another CCD-enabled dynamic particle.
| Name | FCCDParticle |
| Type | struct |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/CCDUtilities.h |
| Include Path | #include "Chaos/CCDUtilities.h" |
Syntax
struct FCCDParticle
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCCDParticle () |
Chaos/CCDUtilities.h | ||
FCCDParticle
(
TPBDRigidParticleHandle< FReal, 3 >* InParticle |
Chaos/CCDUtilities.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AttachedCCDConstraints | TArray< FCCDConstraint * > | Chaos/CCDUtilities.h | ||
| Done | bool | Chaos/CCDUtilities.h | ||
| Island | int32 | Chaos/CCDUtilities.h | ||
| OverlappingDynamicParticles | TArray< FCCDParticle * > | Chaos/CCDUtilities.h | ||
| Particle | TPBDRigidParticleHandle< FReal, 3 > * | Chaos/CCDUtilities.h | ||
| TOI | FReal | Chaos/CCDUtilities.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddConstraint
(
FCCDConstraint*const Constraint |
Chaos/CCDUtilities.h | ||
void AddOverlappingDynamicParticle
(
FCCDParticle*const InParticle |
Chaos/CCDUtilities.h |