# Unreal Engine 5.1 water buoyancy

**URL:** <https://forums.unrealengine.com/t/unreal-engine-5-1-water-buoyancy/749532>\
**Category:** World Creation\
**Tags:** Water, unreal-engine\
**Created:** [January 15, 2023, 12:33am UTC](https://forums.unrealengine.com/t/unreal-engine-5-1-water-buoyancy/749532 "2023-01-15T00:33:40Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Geckoo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Geckoo](https://forums.unrealengine.com/u/Geckoo)\
**Post date:** [January 15, 2023, 12:33am UTC](https://forums.unrealengine.com/t/unreal-engine-5-1-water-buoyancy/749532/1 "2023-01-15T00:33:40Z")

</div>

I’m trying to get a boat to float in unreal engine 5.1…used de water plugin and a water body ocean. I have created a static mesh with physics, mass and a buoyancy component with a pontoon. But when I run the game the boat just sits on the water instead of floating. Physics work, the boat drops but it all happens on top of the water instead of floating.

---

<div class="post-metadata">

**Author:** ![Geckoo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Geckoo](https://forums.unrealengine.com/u/Geckoo)\
**Post date:** [January 16, 2023, 12:48pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-1-water-buoyancy/749532/2 "2023-01-16T12:48:25Z")

</div>

The waterbodycollision was missing. I added it in the .ini file and now the buoyancy works.

---

<div class="post-metadata">

**Author:** ![zane\_dev](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zane\_dev](https://forums.unrealengine.com/u/zane_dev)\
**Post date:** [January 19, 2023, 9:28pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-1-water-buoyancy/749532/3 "2023-01-19T21:28:58Z")

</div>

Can you elaborate how you solved the issue? I’m currently running into the same issue where even the example buoyancy object in All \> Engine \> Plugins \> Water Content \> Blueprints \> BP\_BuoyancyExample isn’t floating (all of my objects sink to the bottom of the water).

---

<div class="post-metadata">

**Author:** ![alexandrainteractive](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@alexandrainteractive](https://forums.unrealengine.com/u/alexandrainteractive)\
**Post date:** [January 24, 2023, 9:02am UTC](https://forums.unrealengine.com/t/unreal-engine-5-1-water-buoyancy/749532/4 "2023-01-24T09:02:11Z")

</div>

Here’s the issue in more detail including details of the missing WaterBodyCollision profile from DefaultEngine.ini: [https://forums.unrealengine.com/t/5-1-water-buoyancy-not-working/720788/11](https://forums.unrealengine.com/t/5-1-water-buoyancy-not-working/720788/11)

---

<div class="post-metadata">

**Author:** ![Geckoo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Geckoo](https://forums.unrealengine.com/u/Geckoo)\
**Post date:** [January 25, 2023, 10:36am UTC](https://forums.unrealengine.com/t/unreal-engine-5-1-water-buoyancy/749532/5 "2023-01-25T10:36:57Z")

</div>

Yes, the link that switchboardai provided is indeed where the solution was for me, specifically this part helped:

Head over to your project’s folder-\> config → DefaultEngine.ini  
Slide down to your collision profiles and search for WaterBodyCollision. You likely won’t find it, we can add it here directly.

```auto
+Profiles=(Name="WaterBodyCollision",CollisionEnabled=QueryOnly,bCanModify=False,ObjectTypeName="",CustomResponses=((Channel="WorldDynamic",Response=ECR_Overlap),(Channel="Pawn",Response=ECR_Overlap),(Channel="Visibility",Response=ECR_Ignore),(Channel="Camera",Response=ECR_Ignore),(Channel="PhysicsBody",Response=ECR_Overlap),(Channel="Vehicle",Response=ECR_Overlap),(Channel="Destructible",Response=ECR_Overlap)),HelpMessage="Default Water Collision Profile (Created by Water Plugin)")

```

Copy and paste that under the collision profile list, then launch the project and check for it in the water as well as in the project settings.

---

<div class="post-metadata">

**Author:** ![BazaVamp](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BazaVamp](https://forums.unrealengine.com/u/BazaVamp)\
**Post date:** [May 12, 2023, 1:36am UTC](https://forums.unrealengine.com/t/unreal-engine-5-1-water-buoyancy/749532/6 "2023-05-12T01:36:11Z")

</div>

The code worked perfect for me, thanks, was glad i found this post. Buoyancy is working for me, but how do i make it work with keyframes? I am trying to record a boat going from a to b, but with buoyancy for realism. However when i play the keyframe animation it sinks and gets dragged along. Any help would be much appreciated, thank you.

---

<div class="post-metadata">

**Author:** ![Cheeze\_burger\_ch](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cheeze_burger_ch/32/729847_2.png) [@Cheeze\_burger\_ch](https://forums.unrealengine.com/u/Cheeze_burger_ch)\
**Post date:** [June 17, 2023, 8:40am UTC](https://forums.unrealengine.com/t/unreal-engine-5-1-water-buoyancy/749532/7 "2023-06-17T08:40:50Z")

</div>

i cannot collisions profile list ?

---

<div class="post-metadata">

**Author:** ![GriffoxEntertain](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GriffoxEntertain](https://forums.unrealengine.com/u/GriffoxEntertain)\
**Post date:** [November 14, 2023, 2:44am UTC](https://forums.unrealengine.com/t/unreal-engine-5-1-water-buoyancy/749532/8 "2023-11-14T02:44:57Z")

</div>

Exactly what I was looking for ty
