Navigation
API > API/Plugins > API/Plugins/Buoyancy > API/Plugins/Buoyancy/IBuoyancyEventInterface
Description
Called when part of a submerged simulated actor first comes in contact with a water surface. This can be called for multiple parts of a complex body.
| Name | OnSurfaceTouchBegin_Native |
| Type | function |
| Header File | /Engine/Plugins/Experimental/Buoyancy/Source/Runtime/Public/BuoyancyEventInterface.h |
| Include Path | #include "BuoyancyEventInterface.h" |
void OnSurfaceTouchBegin_Native
(
UPrimitiveComponent * WaterComponent,
UPrimitiveComponent * SubmergedComponent,
float SubmergedVolume,
const FVector & SubmergedCenterOfMass,
const FVector & SubmergedVelocity
)