- Create Blank BP project
- Enable Water plugin (Edit -> plugins -> search for Water plugin -> Click inside Enabled checkbox)
- Allow editor to restart
- Create new Empty level (File -> New Level -> Select Empty Level -> Select Don't save if you will be asked about saving changed assets)
- Switch to Landscape mode (Shift + 2)
- Tick Enable Edit Layers and press Create button
- Switch to Select Editing mode (Shift + 1)
- Add the following to the level (Search in Place Actors and drag to level):
- Directional Light (place it anywhere)
- Water Body Lake (place it anywhere)
- Create new Actor Blueprint (Right click in Content Drawer -> Select Blueprint Class -> Select Actor)
- Open created blueprint
- Add Cube component (click +ADD button in Components tab -> select Cube)
- Select Cube and update the following setting in Details Panel:
Simulate Physics = true
- It's necessary step!
Set Cube component as Root component (Click on Cube in Components tab and drag and drop it onto DefaultSceneRoot Component)
- Add Buoyancy component (click +ADD button in Components tab -> select Buoyancy)
- Select Buoyancy component
- In Details panel search for Pontoons and add new element to Pontoons array (click + button near it)
- Compile blueprint
- Return to main Editor and place created blueprint on the lake surface (mean Water Body Lake created on step 8.)
- Move added to level blueprint instance upper (Select it and in Details panel set Location.z to 500)
- Play In Selected Viewport
Actual Result:
Cube (created blueprint with buoyancy) falls on bottom of the lake (see attached ActualResult.gif)
Expected Result:
Cube (created blueprint with buoyancy) falls on the water surface and starts to buoyance on it (see attached ExpectedResult.gif)