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