Unreal Engine 4.26 Swimmable Water Tutorial

preview_player
Показать описание
In this video I go over how to make it so that the player can swim in the water in the ocean and lakes which were added in Unreal Engine version 4.26
You will need to make sure that you are using the latest version of Unreal Engine version 4.26 to make these water volumes



Other Links :

Рекомендации по теме
Комментарии
Автор

@Uisco I did your pelvic hitbox fix and others had a similar issue. After exiting the water jumping gets messed up. You can't jump as high and the camera gets jerky. Also you will fall slowly if you jump off of anything that gives you a good fall distance (kinda is like a mary poppins / parachute mechanic).

Did you ever fix this? Is it an issue with the is overlapping actor or an issue with the custom event + timer?

mincvinyl
Автор

thank you so much for this tutorial!!! I requested this awhile back so thank you for replying and adding this I know you probably keep yourself busy so thank you for your time! keep on inspiring more indie game devs, your videos are educational and also efficient, you are definitely at the top of the game dev channels.

BRJCLIPS
Автор

I was missing that water volume logic from the character volume. Thank you so much for the video!

Kwenron
Автор

This was very helpful, thank you! I have multiple maps that each have swimmable water bodies, so I used a box collison on the character itself to check for a water volume collison. I don't know how it compares performance-wise, but it means my character will swim in any of the water bodies without having to add the code to their blueprints!

dfx
Автор

Excellent lesson, very to the point! Exactly what I was looking for.

TheWickieGame
Автор

Thank you Uisco! You're doing a great service to this community

yoman
Автор

dud your a life saver thanks for telling me how to add swimming into my game
your a game changer.

banwafer
Автор

Thank you very much for this tutorial! I never even knew that you could simply create a blueprint from a level object lol. The more you know! I'm using UE5 rn and luckily this still works. Simply copying your code results in very rough swimming, as you can easily float above the surface of the water in my case. I'm using this on a rather still lake water body btw. But this is totally acceptable for the prototype phase that my game is in right now.

I hope Epic provides a better (and easier) way to get the character to swim and adjust to the water's surface for all types of water bodies. They did it for Fortnite, so they must've gotten some experience with that.
But for now your method will suffice. Thank you once again, good Sir and I wish you a pleasant day :)

TheCreator
Автор

fits perfectly with the open world game im working on but could you do a tutorial on how to make boats?

doctorsuper
Автор

Perfect tutorial, thank you for this.

blakearndt
Автор

Man thanks so much, ive learned a bunch of cool things thanks to this tutorial. Its getting much closer and almost works 100%, I did your extra steps too with the volume above the hip detection, but there is something off still, its not firing consistently, and only works when jumping. Also when swimming between water bodies it throws you back into walk mode, if going between a lake/river/ocean. I asked in unreal discord, but I guess this is too new, all the older stuff out there on topic is with physics volumes.

macronomicus
Автор

If you have an issue that I have at Unreal Engine 5 you might not actually see animations playing that because you have to plug both 'Speed' and 'Ground Speed' to the 'Set is Swimming' at AnimBP

Arengan
Автор

fabulous
when there is a will, there is a way

fft
Автор

It works! and did the pelvis fix you did, but now once I enter the water and leave my jumping gets messed up.
Jumping height is changed and its as if the gravity became heavier.

quechus
Автор

Yet another great video short and right to the point you are very good at what you do will you ever make a tutorial on building snapping where a player can craft a wood foundation and place it in the world? been trying my self but can not find no matter where I look to make it go up and down with arrow keys so player can set the height.

Restart-Gaming
Автор

how do u make it so u don't have to jump in the water and it triggers no matter how u enter water

lebryantjohnson
Автор

is there a way to setup the swimming so it only gets triggered at a certain height of the character like say the pelvis bone? looks a bit strange atm because you start swimming straight from the shoreline...

MjDArts
Автор

Sir i am done according to you but there is no difference seeing in swimming the character and i am using unreal engine 5.Please help, Sir 🙏

vincence_
Автор

I'm trying this in Paper2D, and the character doesn't collide with the water he walks right through, any ideas?

KaitheArtGuy
Автор

What needs to be updated to get it work in multiplayer?

zeond