Navigation
API > API/Plugins > API/Plugins/Buoyancy > API/Plugins/Buoyancy/UBuoyancySubsystem
Description
Given a bounding box, perform an overlap test and filter for water bodies. There could be some potential threading issues here since we are querying the FBuoyancyWaterSplineDataManager physics thread data presumably from the gt to do the overlap test. We need a better way of communicating the buoyancy data so we can capture it on the gt, then use it on the physics or other thread (ie: cloth).
| Name | FindOverlappingWaterBodies |
| Type | function |
| Header File | /Engine/Plugins/Experimental/Buoyancy/Source/Runtime/Public/BuoyancySubsystem.h |
| Include Path | #include "BuoyancySubsystem.h" |
| Source | /Engine/Plugins/Experimental/Buoyancy/Source/Runtime/Private/BuoyancySubsystem.cpp |
bool FindOverlappingWaterBodies
(
const FBox BoundingBox,
TArray < const TSharedPtr < FBuoyancyWaterSplineData > > & WaterBodyPhysicsProxies
)