Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/Chaos > API/Runtime/Chaos/Chaos/Collision
Inheritance Hierarchy
- FParticlePairMidPhase
- FShapePairParticlePairMidPhase
References
Module | Chaos |
Header | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Collision/ParticlePairMidPhase.h |
Include | #include "Chaos/Collision/ParticlePairMidPhase.h" |
Syntax
class FShapePairParticlePairMidPhase : public Chaos::FParticlePairMidPhase
Remarks
A midphase for a particle pair that pre-builds a set of all potentially colliding shape pairs. This is the fast path used when each particle has a small number of shapes and does not contain a complex hierarchy. This midphase (compared to FGenericParticlePairMidPhase) caches various data like the results of the collision filtering, the shapr pair types, etc.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Overridden from FParticlePairMidPhase
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | Build the list of potentially colliding shape pairs. This is all the shape pairs in the partilces' shapes arrays that pass the collision filter. | |
![]() ![]() |
int32 | GenerateCollisionsImpl
(
const FReal CullDistance, |
|
![]() ![]() |
void | InjectCollisionImpl
(
const FPBDCollisionConstraint& Constraint, |
|
![]() ![]() |
void | ResetImpl () |
|
![]() ![]() |
void | WakeCollisionsImpl
(
const int32 CurrentEpoch |