How to Set sail with ships and boats in Unreal Engine 5. water tutorial.
How to use the unreal engine water plugin to float and move ships and boats using buoyancy and physics.
Жүктеу.....
Пікірлер: 14
@BooneyTune4 ай бұрын
Was a great little video and would like to see more on ship combat
@Adil-vi8xw2 ай бұрын
U should show full screen of that bp or editor. Like when u were making pontoons ur half side of that screen was visible and the pontoon side was not. So make a video in which u open a whole bp on full screen
@limbytes3 ай бұрын
This is great! Please do more!
@MrLarsalexander3 ай бұрын
You should also increase the mass more depending on the mesh size to avoid physics handle the ship as a smaller object, and throw it around like a rubber duck. It's better to have a larger mass, and then increase the buoyancy strength more so the ship feels really heavy in the water. And also, if you add two pontoons extra in front and back, and place them i little bit further away from the ship it will be more stable. Both out to the sides and behind/in front. Then reduce the buoyancy on these so they don't act as the main float points, bit rather help on stability like balast in the ship. Might just help to lower center of gravity, but that alone is not always enough. But to fix the forward and backwards rocking, the center of gravity has to be moved forward a bit. And it will help a lot with those extra pontoons.
@BrokeAsDev
3 ай бұрын
Thats a good a idea. i don't know why i only considered having pontoons on the ship itself. spreading them out in decreasing buoyancy could diffidently increase the stability. might have to be cautious of performance cost tho.
@MrLarsalexander
3 ай бұрын
@@BrokeAsDev Did you test it yet?
@BrokeAsDev
3 ай бұрын
Yep, sadly only 1 buoyancy component will apply at any one time (the first to be added) hence all pontoons will have the same values applied to them. adding more pontoons still helps add stability, but you have to be more careful with their placement since you can't have different levels of buoyancy.damping or force.
@MrLarsalexander
3 ай бұрын
@@BrokeAsDev That is true.. They should be at the same height at least, but i was sure you could add less buoyancy at those in far back and far right to act only as extra stabilizers when riding waves and so on..
@borisaceski64014 ай бұрын
Love the video mate. I am working on a pirate game/project so I'd love to see how u approach combat, sails and water vfx. Cheers!
@Grimswoden2 күн бұрын
reeallly could have recorded the whole screen
@MrLarsalexander3 ай бұрын
Could you instead use the wind speed and direction to apply a certain value for the force X input if calling from a custom event that you create for a wind BP this way? If that wind_BP is attached to the ship, and rotates in world space independant of the ships rotation, would it perhaps work to do a line trace in the direction of the wind (*The wind will be dynamic and changes direction, so the trace will always follow tha direction the wind is blowing is my idea*) So i was thinking if there was 3 different line traces with just a short distance enough to collide with the sail if the ship is rotated in the same direction as the wind. And 1 and 3 would be slightly angled to the left and right by 30--45° while 2 would be pointing straight ahead. So depending on if 1 or 2 or 3 and 2 is closest to the hit box the trace will detect, the faster your ship would go... And also speed will multiply by the wind speed and if you are aligned properly with the wind.... How would you go ahead and set up something like that?
@endtasid2 ай бұрын
this is a great video. And also a shame for Epic games, these things shouldn't be this difficult and complicated. I've been trying to figure out these settings for some time now, trying to make my 3d model ships and submarines float and I cannot say im in 100% success. And also as large as the boat gets, adjusting buoyancy becomes exponentially meaninglessly more difficult. And for the water buoyancy things to work, we need to use kinda simpler collisions on meshes. And I'm making some apps in which the 3rd player character walks around the ships, outside and also inside. So simple collisions also don't work for me. I use complex collisions as simple and they are not compatible with physics sim and therefore buoyancy. So I'm using my own scripts that apply sinus waves to transforms of the meshes to create a wavy buoyancy effect. And when I do this, my meshes' collisions with the other meshes and landscapes go bizzare and mostly not work. This is a shame for Epic or I'm a complete idiot who is missing something somewhere.
@MrLarsalexander3 ай бұрын
Resolution has to be power of two! 1024 - 2048 - 4096 - 8192
Пікірлер: 14
Was a great little video and would like to see more on ship combat
U should show full screen of that bp or editor. Like when u were making pontoons ur half side of that screen was visible and the pontoon side was not. So make a video in which u open a whole bp on full screen
This is great! Please do more!
You should also increase the mass more depending on the mesh size to avoid physics handle the ship as a smaller object, and throw it around like a rubber duck. It's better to have a larger mass, and then increase the buoyancy strength more so the ship feels really heavy in the water. And also, if you add two pontoons extra in front and back, and place them i little bit further away from the ship it will be more stable. Both out to the sides and behind/in front. Then reduce the buoyancy on these so they don't act as the main float points, bit rather help on stability like balast in the ship. Might just help to lower center of gravity, but that alone is not always enough. But to fix the forward and backwards rocking, the center of gravity has to be moved forward a bit. And it will help a lot with those extra pontoons.
@BrokeAsDev
3 ай бұрын
Thats a good a idea. i don't know why i only considered having pontoons on the ship itself. spreading them out in decreasing buoyancy could diffidently increase the stability. might have to be cautious of performance cost tho.
@MrLarsalexander
3 ай бұрын
@@BrokeAsDev Did you test it yet?
@BrokeAsDev
3 ай бұрын
Yep, sadly only 1 buoyancy component will apply at any one time (the first to be added) hence all pontoons will have the same values applied to them. adding more pontoons still helps add stability, but you have to be more careful with their placement since you can't have different levels of buoyancy.damping or force.
@MrLarsalexander
3 ай бұрын
@@BrokeAsDev That is true.. They should be at the same height at least, but i was sure you could add less buoyancy at those in far back and far right to act only as extra stabilizers when riding waves and so on..
Love the video mate. I am working on a pirate game/project so I'd love to see how u approach combat, sails and water vfx. Cheers!
reeallly could have recorded the whole screen
Could you instead use the wind speed and direction to apply a certain value for the force X input if calling from a custom event that you create for a wind BP this way? If that wind_BP is attached to the ship, and rotates in world space independant of the ships rotation, would it perhaps work to do a line trace in the direction of the wind (*The wind will be dynamic and changes direction, so the trace will always follow tha direction the wind is blowing is my idea*) So i was thinking if there was 3 different line traces with just a short distance enough to collide with the sail if the ship is rotated in the same direction as the wind. And 1 and 3 would be slightly angled to the left and right by 30--45° while 2 would be pointing straight ahead. So depending on if 1 or 2 or 3 and 2 is closest to the hit box the trace will detect, the faster your ship would go... And also speed will multiply by the wind speed and if you are aligned properly with the wind.... How would you go ahead and set up something like that?
this is a great video. And also a shame for Epic games, these things shouldn't be this difficult and complicated. I've been trying to figure out these settings for some time now, trying to make my 3d model ships and submarines float and I cannot say im in 100% success. And also as large as the boat gets, adjusting buoyancy becomes exponentially meaninglessly more difficult. And for the water buoyancy things to work, we need to use kinda simpler collisions on meshes. And I'm making some apps in which the 3rd player character walks around the ships, outside and also inside. So simple collisions also don't work for me. I use complex collisions as simple and they are not compatible with physics sim and therefore buoyancy. So I'm using my own scripts that apply sinus waves to transforms of the meshes to create a wavy buoyancy effect. And when I do this, my meshes' collisions with the other meshes and landscapes go bizzare and mostly not work. This is a shame for Epic or I'm a complete idiot who is missing something somewhere.
Resolution has to be power of two! 1024 - 2048 - 4096 - 8192
@jawadboutahar7552
Ай бұрын
Why ?