FParticlePairBroadPhase

Run through a list of particle pairs and pass them onto the collision detector if their AABBs overlap.

Windows
MacOS
Linux

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Collision/ParticlePairBroadPhase.h

Include

#include "Chaos/Collision/ParticlePairBroadPhase.h"

Syntax

class FParticlePairBroadPhase

Remarks

Run through a list of particle pairs and pass them onto the collision detector if their AABBs overlap. In addition, collide all particles in ParticlesA with all particles in ParticlesB.

No spatial acceleration, and the order is assumed to be already optimized for cache efficiency.

Constructors

Name Description

Public function

FParticlePairBroadPhase

(
    const TArray< FParticlePair >*...,
    const TArray< FParticleHandle*...,
    const TArray< FParticleHandle*...,
    const FReal InCullDistance
)

Functions

Name Description

Public function Const

FReal

 

GetCullDistance()

Public function

void

 

ProduceOverlaps

(
    FReal Dt,
    FCollisionConstraintsArray& Constr...,
    FNarrowPhase& NarrowPhase,
    CollisionStats::FStatData& StatDat...
)

Public function

void

 

SetCullDustance

(
    const FReal InCullDistance
)

Typedefs

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