Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/Chaos > API/Runtime/Chaos/Chaos/Collision > API/Runtime/Chaos/Chaos/Collision/FParticlePairMidPhase
References
Module | Chaos |
Header | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Collision/ParticlePairMidPhase.h |
Include | #include "Chaos/Collision/ParticlePairMidPhase.h" |
Source | /Engine/Source/Runtime/Experimental/Chaos/Private/Chaos/Collision/ParticlePairMidPhase.cpp |
void Init
&40;
FGeometryParticleHandle &42; InParticle0,
FGeometryParticleHandle &42; InParticle1,
const FCollisionParticlePairKey & InKey,
const FCollisionContext & Context
&41;
Remarks
Set up the midphase based on the SHapesArrays of the two particles Only intended to be called once right after constructor. We don't do this work in the constructor so that we can reduce the time that the lock is held when allocating new MidPhases.