![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <SpatialAccelerationBroadPhase.h>
Public Types | |
| using | FAccelerationStructure = ISpatialAcceleration< FAccelerationStructureHandle, FReal, 3 > |
A broad phase that iterates over particle and uses a spatial acceleration structure to output potentially overlapping SpatialAccelerationHandles.
| using Chaos::FSpatialAccelerationBroadPhase::FAccelerationStructure = ISpatialAcceleration<FAccelerationStructureHandle, FReal, 3> |
|
inline |
|
inline |
This function is the outer loop of collision detection. It loops over the particles view and do the broadphase + narrowphase collision detection.
| OverlapView | View to consider for the outer loop |
| Dt | Current simulation time step |
| InSpatialAcceleration | Spatial acceleration (AABB, bounding volumes...) to be used for broadphase collision detection |
| NarrowPhase | Narrowphase collision detection that will be executed on each potential pairs coming from the broadphase detection |
|
inline |
|
inline |
|
inline |
Generate all the collision constraints for the set of overlapping objects produced by the broad phase
|
inline |
|
inline |
Generate all overlapping pairs and spawn a midphase object to handle collisions for each of them
|
inline |