Navigation
Unreal Engine C++ API Reference > Runtime > Chaos > Chaos > Collision
References
Module | Chaos |
Header | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Collision/SpatialAccelerationBroadPhase.h |
Include | #include "Chaos/Collision/SpatialAccelerationBroadPhase.h" |
Syntax
class FSpatialAccelerationBroadPhase
Remarks
A broad phase that iterates over particle and uses a spatial acceleration structure to output potentially overlapping SpatialAccelerationHandles.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FSpatialAccelerationBroadPhase
(
const FPBDRigidsSOAs& InParticles |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | ComputeParticlesOverlaps
(
ViewType& OverlapView, |
This function is the outer loop of collision detection. It loops over the particles view and do the broadphase + narrowphase collision detection. |
![]() |
FIgnoreCollisionManager & | ||
![]() |
void | ProduceCollisions
(
FReal Dt |
Generate all the collision constraints for the set of overlapping objects produced byt he broad phase |
![]() |
void | ProduceOverlaps
(
FReal Dt, |
Generate all overlapping pairs and spawn a midphase object to handle collisions for each of them |
![]() |
void | ProduceOverlaps
(
FReal Dt, |
|
![]() |
void | SetSpatialAcceleration
(
const FAccelerationStructure* InSpatialAcceleration |
Typedefs
Name | Description |
---|---|
FAccelerationStructure |