Navigation
API > API/Plugins > API/Plugins/Buoyancy > API/Plugins/Buoyancy/IBuoyancyEventInterface
Description
Called when a submerged body loses contact with all water surfaces. This can result from total submersion or from coming completely out of water.
| Name | OnSurfaceTouchEnd_Native |
| Type | function |
| Header File | /Engine/Plugins/Experimental/Buoyancy/Source/Runtime/Public/BuoyancyEventInterface.h |
| Include Path | #include "BuoyancyEventInterface.h" |
void OnSurfaceTouchEnd_Native
(
UPrimitiveComponent * WaterComponent,
UPrimitiveComponent * SubmergedComponent,
float SubmergedVolume,
const FVector & SubmergedCenterOfMass,
const FVector & SubmergedVelocity
)