How To MAKE Things FLOAT in Water | Unreal Engine 5 Tutorial

How to Make Things Float in Unreal Engine?
In this UE5 tutorial, We are going 2 learn different ways to make things float be it heavier objects like a boat or smaller objects like debris, small flowers and cloths that deform based on the waves.
Support what I do?/ Exclusive Content
/ crowbiomes
Join the Discord: / discord
-----------------------------
CHAPTERS:
0:00 Boat Physics
3:00 Pontoons & Sockets
5:33 Material Magic
8:24 Cloth Deformation
9:12 Single Function Drag & Drop

Пікірлер: 115

  • @CrowBiomes
    @CrowBiomes2 жыл бұрын

    Hey Guys! I've created a Patreon page for extra content and support. Support What I do? / Exclusive Content : www.patreon.com/klauslyf

  • @philippec7213
    @philippec7213 Жыл бұрын

    Excellent tuto, thank you ( the best one since 2 days I searched for ) The solution for buoyancy with material is great !👏👏👏👏👏

  • @magnetvideogame
    @magnetvideogame Жыл бұрын

    Thank you!! I nearly gave up on implementing something like this in my game but this made everything so much easier.

  • @hyperlizard
    @hyperlizard8 ай бұрын

    Thank you. This is fantastic. What a lovely technique ! Appreciate you friend

  • @RedekerEleven
    @RedekerEleven7 ай бұрын

    you answered several questions i had and several i didn't know i had! thank YOU!

  • @TheBradVision
    @TheBradVision Жыл бұрын

    Thank you for posting this! Subscribed.

  • @thilinarupasinghe7968
    @thilinarupasinghe7968 Жыл бұрын

    Great Tutorial all the thingsare to the point, Thanks.

  • @SuperlativeCG
    @SuperlativeCG2 жыл бұрын

    Great tutorial! Very helpful.

  • @stibaer573
    @stibaer5735 ай бұрын

    Thanks. Very helpfull tutorial. Nicely structured as well :)

  • @RickHenderson
    @RickHenderson Жыл бұрын

    Really cool! Thanks!

  • @TheBradVision
    @TheBradVision Жыл бұрын

    Great tutorial using UE5.0. Had to import UE5.0 scene into UE5.2 for the "WaterBodyCollision" to appear in the Ocean. For the second method, the WPO for the materials only worked in 5.0. Thanks for the awesome videos!!

  • @kirkr
    @kirkr2 жыл бұрын

    Great tutorial!

  • @plagiats
    @plagiats2 жыл бұрын

    Wow dude you blew my mind with the material approach. Very detailed, full of useful information... I mean THANK YOU, it's a very good tutorial. Learned a lot. Subscribed!

  • @CrowBiomes

    @CrowBiomes

    2 жыл бұрын

    Thank you Phillippe!

  • @39a_siddharthdesai31
    @39a_siddharthdesai312 жыл бұрын

    Thanks sir very well explained tutorial ♥️

  • @tonnynderitu1504
    @tonnynderitu1504 Жыл бұрын

    Dope tutorial

  • @ue5beginner248
    @ue5beginner2482 жыл бұрын

    thanks for your video 👍👍👍

  • @thegreatSalu
    @thegreatSalu2 жыл бұрын

    I wish you could have created this tutorial last year..so badly need to get boat physics done in Unreal..but thank you for creating it, better late than never..

  • @CrowBiomes

    @CrowBiomes

    2 жыл бұрын

    Sometimes I wish that too XD. And We are a year later..

  • @CrypticNord
    @CrypticNord20 күн бұрын

    Thank you. All the other tutorials wasted my time by wanting me to use arrows and cubes.... bunch of morons lol. Yours worked. Sockets is much better.

  • @baza6127
    @baza6127 Жыл бұрын

    Hello, thank you for the video. I was able to get this working with a static mesh version of my boat. But i have created an animation of a paddle wheel turning on the back, now i have a skeletal mesh instead and I cant add sprockets. I have no idea how to get the buoyancy to work now. Any help would be appreciated

  • @Manim8
    @Manim8 Жыл бұрын

    Does anyone know... If I already have a landscape, can I add the UE water plugin without having to create a new landscape? Thanks

  • @kooshypir
    @kooshypir Жыл бұрын

    Thank you for this tutorial! Is there a setting for the water body? I followed all your steps but the boat keeps falling through. Any help would be greatly appreciated!!

  • @v8matey
    @v8matey Жыл бұрын

    Hello. how do you make damaged pieces from chaos float. i got planks of wood that explode an splinter. but they sink like rocks. how can I please make them float like HL2 does. thanks.

  • @Loki-qo2kb
    @Loki-qo2kb2 жыл бұрын

    Nice tutorial, can you do one about how to make them int?

  • @CrowBiomes

    @CrowBiomes

    2 жыл бұрын

    Sus

  • @fbbk3
    @fbbk32 ай бұрын

    hi, thanks for the great tutorial. i got the first method using pontoons to work, but the second method (material magic) does not work for me. the blueprint graph looks exactly the same as yours but when I apply the material to my plants and enable physics and gravity, they just immediately sink. the same thing happens when i try the material method on a cube or sphere. i tried playing around with the mass value and set it to something very low like 0.0001 like some comments suggested, but it has no effect, everything just immediately sinks when i try the material method :( please help

  • @LuciousKage
    @LuciousKage8 ай бұрын

    Is there a way to use this info to make Character float up and down Gerstner waves ?

  • @tacticalmythic7945
    @tacticalmythic794511 ай бұрын

    material section does not work for UE 5.2?

  • @scarneck180

    @scarneck180

    9 ай бұрын

    You ever figure it out?

  • @AndyIstomin
    @AndyIstomin Жыл бұрын

    Doesn't work for me in UE5.1. Object just falls on the "floor"

  • @akshayak9461

    @akshayak9461

    11 ай бұрын

    Got the same issue...have you found any solution. If, plz do share the solution.

  • @AndyIstomin

    @AndyIstomin

    11 ай бұрын

    @akshayak9461 it's a 5.1 bug. I desided to use waterline plugin for my project. But I google a lot. And there's 2 way you can fix it. You can use UE 5.0 set up everything and then open project with ue 5.1 (I don't know if it works with 5.2 and 5.3) Or you need to add some files to you project to make everything work (I don't remember it was 6 month ago - google better😀)

  • @ThadeousM

    @ThadeousM

    5 ай бұрын

    Make sure collision and physics simulation is turned on for your water body

  • @plasid2
    @plasid22 жыл бұрын

    Fluid simulation not working ue5 5.02? I try example map and moving skelmesh not react with water

  • @user-sq9xi6pz3l
    @user-sq9xi6pz3l6 ай бұрын

    it's good. But what's next? He floats on the water. But how to make it not just swing on the waves, but float in the direction of how the ship floats and that the foam and waves follow it

  • @michaelmuhlen3253
    @michaelmuhlen3253 Жыл бұрын

    Dear Klaus! Great tutorial, thank you. It works very well for static meshes. But when i try to make a skeleton float (with physics enabled, for ragdoll physics) it doesn´t work. There is said that there is a collision problem.... any ideas?

  • @yasinduweerathunga3795

    @yasinduweerathunga3795

    4 ай бұрын

    override the mass in the physics asset & use a small value OR increase max buoyant force

  • @DynamicalisBlue
    @DynamicalisBlue Жыл бұрын

    I can't seem to get the material method working unless Depth Attentuation is disabled, but doing so greatly limits what I can do with it. I am trying to use it with an ocean, anyone know why this may be happening?

  • @aethylwulfeiii6502
    @aethylwulfeiii6502 Жыл бұрын

    I have the water plugins and extras enabled for UE5 but wtf is the bouyancy component I cannot find it?

  • @relaxingtopology256
    @relaxingtopology256 Жыл бұрын

    Awesome tutorial! What pack contains the boat mesh?

  • @CrowBiomes

    @CrowBiomes

    Жыл бұрын

    Twinmotion Boat Pack

  • @somelittlething6620
    @somelittlething6620 Жыл бұрын

    Hey. I have a problem that the water go inside the boat. Do you have any idea to remove that.

  • @TheClanOfHari
    @TheClanOfHari Жыл бұрын

    I am using UE5.2 but the material version is not working, or am I missing anything?

  • @scarneck180

    @scarneck180

    9 ай бұрын

    Did you ever figure it out?

  • @DarkSaian
    @DarkSaian Жыл бұрын

    can i make this work on custom maded ocean? (plane wit material) Specialy floating with material setup. I cant make it work on custom maded ocean but on Water Body Ocean its working...

  • @peterjohnson8570
    @peterjohnson85708 ай бұрын

    In the first example, I noticed you gave the boat, as a whole, a mass of 100kg... is there a way to distribute the weight? I imagine it's difficult to get a very realistic simulation without it... For instance, even a static asset like a small dinghy going over a wave might be back heavy and land differently than if it were front heavy. Similarly, you could imagine a player standing on the side of a canoe or something, the weight of the player might be expected to dynamically effect the canoe and cause it to capsize.

  • @parthchotaliya3468
    @parthchotaliya3468 Жыл бұрын

    Hey great tutorial dude, I did just as same you did but my object is jumping off. Please help

  • @marioperez1720
    @marioperez1720 Жыл бұрын

    Hello, I need your help, in the view port everything works fine, but when I create a sequence level and render, the objects that should float do not move. Thanks

  • @Native_Creation

    @Native_Creation

    Жыл бұрын

    The editor is real time, you need to add your objects to Sequencer in order to see it rendered, not sure how that works with these techniques though.

  • @marcapouli7805
    @marcapouli7805 Жыл бұрын

    Thank you for the video! Any idea how to set buoyancy parameters via blueprint? Nothing is exposed on the buoyancy component unfortunately...

  • @shinnasukah

    @shinnasukah

    Жыл бұрын

    yup sadly trying to find it too, my boat drops to the ocean floor after reaching a certain distance from world centre position 0,0,0 using physics buoyancy

  • @marcapouli7805

    @marcapouli7805

    Жыл бұрын

    @@shinnasukah Physics in general has issue when too far from center, your problem is not related specifically to buoyancy

  • @shinnasukah

    @shinnasukah

    Жыл бұрын

    @@marcapouli7805 I see I see thanks thanks

  • @Native_Creation

    @Native_Creation

    Жыл бұрын

    What version? 5.1 has updated issues with WPO and increased distance

  • @akatekk6957
    @akatekk69574 ай бұрын

    Hello, wondering where I can get the Gerstner Waves material function? thx.

  • @CrowBiomes

    @CrowBiomes

    4 ай бұрын

    It's in Unreal water plugin.

  • @pick_n_roll36
    @pick_n_roll36 Жыл бұрын

    The material approach no longer works in UE5.1. Anybody know any workaround?

  • @roher86

    @roher86

    Жыл бұрын

    Ok, so... When you use the Instance Material and choose either "normal" or "cloth" option it appears some parameters to set. I enabled the "UseFixedWaterDepth" parameter and then I wrote the depth it was set in the water element i was using. This worked for me. Hope It'll work for you too. :)

  • @pick_n_roll36

    @pick_n_roll36

    Жыл бұрын

    @@roher86 I will try this thank you!

  • @Jean_Mi

    @Jean_Mi

    Жыл бұрын

    @@pick_n_roll36 I'm with the UE5.2 version and for the 1st method everything works fine. But nothing happens with that of the material I created a material instance but I don't see the parameters you are talking about

  • @jeuxdz
    @jeuxdz10 ай бұрын

    can u make a tutorial on how to move the boat ?

  • @yalcin1234
    @yalcin12342 жыл бұрын

    👍🏻♥️

  • @Jean_Mi
    @Jean_Mi Жыл бұрын

    Very good job ! But... I'm with the UE5.2 version and for the 1st method everything works fine. But nothing happens with that of the material

  • @scarneck180

    @scarneck180

    9 ай бұрын

    You ever figure out the material?

  • @LuciousKage

    @LuciousKage

    8 ай бұрын

    same question @@scarneck180

  • @lonelysorrowknight
    @lonelysorrowknight2 жыл бұрын

    Does this only work for landscape water? How can I achieve this with an indoor body of water? Like a pool or something.

  • @CrowBiomes

    @CrowBiomes

    2 жыл бұрын

    If you are not using water system then you have to create your own buoyancy. Add a force opposite to water when the object is touching the water plane.

  • @solaries8185
    @solaries818511 ай бұрын

    How do you place the water on a level? I've looked at every water video I've found and they ALL start with the level already there with all the water properly set up already and NO video says how the water got there.

  • @ivanchaves3787

    @ivanchaves3787

    3 ай бұрын

    Maybe it is a little late, but there is a plugin called "Water" in UE5, you activated it and you can place actors like Water Body Lake, Water Body Ocean, etc.

  • @user-qb9cc3sv4y
    @user-qb9cc3sv4y10 ай бұрын

    SIR PLZ HELP ME HOW CAN I ENABLE SIMULATE PHYSICS OF WATER IN DETAIL PANEL

  • @meidan3819
    @meidan3819 Жыл бұрын

    Great tutorial though!, but i didn't quite figuring out how you implemented the material function to your foliage from Megascans since, it has already a materials that are conected to the World Position offset. .6:02 ,11:50

  • @CrowBiomes

    @CrowBiomes

    Жыл бұрын

    If WPO already has something connected to it then add it to the final result

  • @meidan3819

    @meidan3819

    Жыл бұрын

    @@CrowBiomes First of all really thank you for answering!.I think I'm kind of understand what you're saying. after some a while i found a some sort of solution,because this specified Megascans foliage has nodes that menat for wind displacement and they took the place of the WPO. I don't need them for this case and i can just replace them instead with that function.

  • @RiverFox_YT
    @RiverFox_YT Жыл бұрын

    would you have any ideas why my boat just sinks?

  • @CrowBiomes

    @CrowBiomes

    Жыл бұрын

    Physics is enabled? Did you add pontoons?

  • @shikainokageyoshi
    @shikainokageyoshi Жыл бұрын

    Great tutorial, thank you but i have question; I made a small boat, tried it with the same logic. The boat bounces and somersaults on the water. Any idea how to fix this issue?

  • @CrowBiomes

    @CrowBiomes

    Жыл бұрын

    You'd need to adjust Pontoon location to balance the buoyant force.

  • @shikainokageyoshi

    @shikainokageyoshi

    Жыл бұрын

    @@CrowBiomes It worked, thank you!

  • @islandonlinenews
    @islandonlinenews Жыл бұрын

    Anybody been able to make lyra character float/swim?.

  • @Badwolf2743
    @Badwolf27432 жыл бұрын

    I was wondering how it would be possible to create buoyancy for an object in still water that does not have waves that is a flat plain. The issue I've come across is I don't want to make a timeline and animate the buoyancy as I have a blueprint where the water level changes when a button is pushed and I want objects to move with it while having buoyancy even if the water is a flat plain. Not sure how to do this though.

  • @CrowBiomes

    @CrowBiomes

    2 жыл бұрын

    You can apply a upward force on the object after checking whether it's overlapping with the water or not. So when the water level goes down, It will fall down until it overlaps and a upward force is again applied. Applying force on different places on objects would make multiple pontoons.

  • @Badwolf2743

    @Badwolf2743

    2 жыл бұрын

    @@CrowBiomes Ok thank you for your help, much appreciated.

  • @jimishatk9982
    @jimishatk9982 Жыл бұрын

    Hi, I tried this but I faced an issue. When I'm trying to float the object it's not even sinking, I enabled simulate physics. But it's still the same. Is there any change I have to make in water details also, plz reply

  • @Manim8

    @Manim8

    Жыл бұрын

    Did you make sure your boat was the scene root in your BP?

  • @troncau8433
    @troncau8433 Жыл бұрын

    Been trying to get this working for a while now. Running UE5.1 water plugin, all the settings are identical to yours. My boat just spins uncontrollably nose down and sinks below the water. I have the BP_TestBoat above the level of the water. If I modify the Buoyancy Coefficient it'll propel into space! Has anyone got this to work on UE5.1?

  • @CrowBiomes

    @CrowBiomes

    Жыл бұрын

    It looks like the pontoons need to be adjusted. They apply force to your object. If they are not applying the same moment, the object will spin. (Imagine pushing a pen with the same force from both ends but you push it a little closer on one side..It'll spin) Make sure they are applying the force on the same symmetric point.

  • @troncau8433

    @troncau8433

    Жыл бұрын

    @@CrowBiomes Thanks for replying Klaus. The pontoons are in the exact same coordinates of the coastguard ship that yours are. I've tried modifying the pontoons, every possible way. I've spread them out/moved them in. Added more added fewer. I used the BP_BuoyancyExample (located in plugin content) and it works fine. I've tried different static meshes. I've found the more uneven the bottom collision is the greater the distortion. I've uploaded some screenshots. drive.google.com/drive/folders/1K3PEVs3tgFOoA0IEKcMH2t5CY9dUy_JM?usp=sharing

  • @FhayAlonso
    @FhayAlonso7 ай бұрын

    "When I try to create the material, as soon as I connect the bool parameter to the switch, Unreal Engine crashes. Has anyone been able to solve that? I'm using version 5.2 of Unreal."

  • @jamesonvparker
    @jamesonvparker Жыл бұрын

    Is it possible to make the character float down a current?

  • @CrowBiomes

    @CrowBiomes

    Жыл бұрын

    It has buoyancy component and the river tells you direction and speed so Yes

  • @izonepunchman6657
    @izonepunchman665712 күн бұрын

    The float material doesn't work for UE4...

  • @pedroserra4625
    @pedroserra46252 жыл бұрын

    Dude you are way to fast for us lol... but great content i can say... Gonna try following you video in less speed lol... Txs for this one

  • @CrowBiomes

    @CrowBiomes

    2 жыл бұрын

    I need to clam tf down😄

  • @pedroserra4625

    @pedroserra4625

    2 жыл бұрын

    @@CrowBiomes it's OK... I can go back and or pause lol... all good

  • @hrleinad
    @hrleinad9 ай бұрын

    The material doesn't work in 5.3; WPO does nothing to the object; it's like it's broken or something.

  • @godfreyalina

    @godfreyalina

    6 ай бұрын

    I was running into this as well in 5.3. If you haven't already, try plugging a Static Bool set to False into the Use Depth Attenuation slot on Compute Gerstner Waves node. That fixed it for me.

  • @hrleinad

    @hrleinad

    6 ай бұрын

    @@godfreyalina oh, I will try that. I know my comment was 3 months ago, but thank you very much for that.

  • @krkhard

    @krkhard

    5 ай бұрын

    salvou muito, estava á 4 dias buscando em varios locais...@@godfreyalina

  • @ashishrawat5049

    @ashishrawat5049

    2 ай бұрын

    @@godfreyalina Big thanks for the solution.

  • @DarkRodFR
    @DarkRodFR Жыл бұрын

    not work in 5.1 :(

  • @roher86

    @roher86

    Жыл бұрын

    Ok, so... When you use the Instance Material and choose either "normal" or "cloth" option it appears some parameters to set. I enabled the "UseFixedWaterDepth" parameter and then I wrote the depth it was set in the water element i was using. This worked for me. Hope It'll work for you too. :)

  • @roher86

    @roher86

    Жыл бұрын

    P.D. Also, you need to select Gerstner Water Waves in the Water body details panel under Waves Source.

  • @WPguru

    @WPguru

    Жыл бұрын

    Same here, in 5.1.1 the boat just sinks to the ground no matter how many pontoons and regardless of weight. 🥺

  • @ue5beginner248
    @ue5beginner2482 жыл бұрын

    I try to do this in the WaterBodyLac and it doesn’t work :(((

  • @CrowBiomes

    @CrowBiomes

    2 жыл бұрын

    the physics method or the material one?

  • @ue5beginner248

    @ue5beginner248

    2 жыл бұрын

    @@CrowBiomes I just find solution but why it doesn’t work in the BodyLake. When I do this in the BodyOcean it work ? thanks 🙏 I think there aren’t collisions

  • @zalansari6454

    @zalansari6454

    Жыл бұрын

    @@ue5beginner248 how did you get it to work? Buoyancy does not work in the Lake system, i cant get anything to float in it

  • @magistrcooldayn233
    @magistrcooldayn2332 жыл бұрын

    Thanks Peter Griffin

  • @CrowBiomes

    @CrowBiomes

    2 жыл бұрын

    heheheheh

  • @SandyM1993
    @SandyM1993 Жыл бұрын

    I have now watched every single tutorial, read every document and done everything exactly the same and still nothing floats, everything sinks as though there is no water at all. I've been learning UE5 for a few months now, but this is a HUGE issue and I will definitely quit UE5 and try another platform because this is F6CKING B6SH1T!!!!!

  • @KIRKS
    @KIRKS2 жыл бұрын

    r.Streaming.poolsize 500000000

  • @CrowBiomes

    @CrowBiomes

    2 жыл бұрын

    r.PotatoCantHandle 0

  • @KIRKS

    @KIRKS

    2 жыл бұрын

    @@CrowBiomes great response bro. 😂 Great video btw

  • @CrowBiomes

    @CrowBiomes

    2 жыл бұрын

    @@KIRKS haha Thanks man!

Келесі